Update txHelper.js

pull/7/head
yann300 6 years ago committed by GitHub
parent 63b7bab428
commit f5efdbc35b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      remix-lib/src/execution/txHelper.js

@ -75,6 +75,15 @@ module.exports = {
return funABI
},
serializeInputs: function (fnAbi) {
var serialized = '('
if (fnAbi.inputs && fnAbi.inputs.length) {
serialized += fnAbi.inputs.map((input) => { return input.type }).join(',')
}
serialized += ')'
return serialized
},
getFunction: function (abi, fnName) {
for (var i = 0; i < abi.length; i++) {

Loading…
Cancel
Save