From 7560f273359071afae31d010b97fa1872dacd66c Mon Sep 17 00:00:00 2001 From: Zac Mitton Date: Wed, 22 Feb 2017 13:07:07 -0500 Subject: [PATCH] removed 1 invisable character that was causing issue number 555 with webpack and browserfy (#563) --- lib/web3/contract.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/web3/contract.js b/lib/web3/contract.js index 2eb65e1..a8cb71c 100644 --- a/lib/web3/contract.js +++ b/lib/web3/contract.js @@ -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');