removed 1 invisable character that was causing issue number 555 with webpack and browserfy (#563)

This commit is contained in:
Zac Mitton 2017-02-22 13:07:07 -05:00 committed by Fabian Vogelsteller
parent 4653e3fb01
commit 7560f27335
1 changed files with 1 additions and 1 deletions

View File

@ -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');