From c15e48d102eb38c808f220382ae95cde8f5d230e Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Fri, 2 Feb 2018 12:24:29 -0500 Subject: [PATCH] use forEach instead of jquery each --- src/app/execution/txHelper.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/app/execution/txHelper.js b/src/app/execution/txHelper.js index 81275a835c..b00f565537 100644 --- a/src/app/execution/txHelper.js +++ b/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 += ', ' }