Commit eeba72c1 authored by yann300's avatar yann300 Committed by GitHub

Merge pull request #728 from ethereum/fixEncodingParam

fix encoding params
parents 2af9cd5f 386a6342
...@@ -8,6 +8,9 @@ module.exports = { ...@@ -8,6 +8,9 @@ module.exports = {
if (funABI.inputs && funABI.inputs.length) { if (funABI.inputs && funABI.inputs.length) {
for (var i = 0; i < funABI.inputs.length; i++) { for (var i = 0; i < funABI.inputs.length; i++) {
types.push(funABI.inputs[i].type) types.push(funABI.inputs[i].type)
if (args.length < types.length) {
args.push('')
}
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment