Commit d344b4b8 authored by Alex Beregszaszi's avatar Alex Beregszaszi

udapp: if there is no constructor defined, we consider a non-payable constructor by default

parent 7bcceae9
......@@ -380,6 +380,8 @@ UniversalDApp.prototype.getConstructorInterface = function (abi) {
return abi[i]
}
}
return { 'type': 'constructor', 'payable': false, 'inputs': [] }
}
UniversalDApp.prototype.getFallbackInterface = function (abi) {
......
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