diff --git a/remix-lib/src/execution/txHelper.js b/remix-lib/src/execution/txHelper.js index ca51f19c9c..81cd3fb57a 100644 --- a/remix-lib/src/execution/txHelper.js +++ b/remix-lib/src/execution/txHelper.js @@ -15,6 +15,9 @@ module.exports = { if (funABI.inputs && funABI.inputs.length) { for (var i = 0; i < funABI.inputs.length; i++) { var type = funABI.inputs[i].type + if (type === 'bool' && args[i] === 'false') { + args[i] = false + } types.push(type.indexOf('tuple') === 0 ? this.makeFullTypeDefinition(funABI.inputs[i]) : type) if (args.length < types.length) { args.push('')