Skip to content

Commit

Permalink
remove quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonradu committed Dec 25, 2017
1 parent 424a1c1 commit c8734d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/web3-eth-abi/src/formatters.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,'');
Expand Down

0 comments on commit c8734d6

Please sign in to comment.