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

pull/1/head
Alex Beregszaszi 8 years ago
parent 7bcceae9ff
commit d344b4b8cf
  1. 2
      src/universal-dapp.js

@ -380,6 +380,8 @@ UniversalDApp.prototype.getConstructorInterface = function (abi) {
return abi[i]
}
}
return { 'type': 'constructor', 'payable': false, 'inputs': [] }
}
UniversalDApp.prototype.getFallbackInterface = function (abi) {

Loading…
Cancel
Save