mirror of https://github.com/status-im/web3.js.git
removed 1 invisable character that was causing issue number 555 with webpack and browserfy (#563)
This commit is contained in:
parent
4653e3fb01
commit
7560f27335
|
@ -198,7 +198,7 @@ var ContractFactory = function (eth, abi) {
|
|||
if (options.value > 0) {
|
||||
var constructorAbi = abi.filter(function (json) {
|
||||
return json.type === 'constructor' && json.inputs.length === args.length;
|
||||
})[0] || {};
|
||||
})[0] || {};
|
||||
|
||||
if (!constructorAbi.payable) {
|
||||
throw new Error('Cannot send value to non-payable constructor');
|
||||
|
|
Loading…
Reference in New Issue