Commit 386a6342 authored by yann300's avatar yann300

fix encoding params

parent 2af9cd5f
...@@ -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