use forEach instead of jquery each

pull/3094/head
Iuri Matias 7 years ago
parent c892d8f1e1
commit acb2ab0e81
  1. 3
      src/app/execution/txHelper.js

@ -1,6 +1,5 @@
'use strict'
var ethJSABI = require('ethereumjs-abi')
var $ = require('jquery')
module.exports = {
encodeParams: function (funABI, args) {
@ -117,7 +116,7 @@ module.exports = {
inputParametersDeclarationToString: function (abiinputs) {
var inputs = ''
if (abiinputs) {
$.each(abiinputs, function (i, inp) {
abiinputs.forEach(function (i, inp) {
if (inputs !== '') {
inputs += ', '
}

Loading…
Cancel
Save