From c8734d69090cac26b7be0990b4b67f96f13b3214 Mon Sep 17 00:00:00 2001 From: Samson Radu Date: Mon, 25 Dec 2017 16:26:09 +0200 Subject: [PATCH] remove quotes --- packages/web3-eth-abi/src/formatters.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/web3-eth-abi/src/formatters.js b/packages/web3-eth-abi/src/formatters.js index ab9acafa706..24130175805 100644 --- a/packages/web3-eth-abi/src/formatters.js +++ b/packages/web3-eth-abi/src/formatters.js @@ -104,7 +104,7 @@ var formatInputDynamicBytes = function (value) { */ var formatInputString = function (value) { if(!_.isString(value)) { - throw new Error('Given parameter is not a valid string: "'+ value + '"'); + throw new Error('Given parameter is not a valid string: ' + value); } var result = utils.utf8ToHex(value).replace(/^0x/i,'');