diff --git a/CHANGELOG.md b/CHANGELOG.md index cebe5e44a73..9864c669bf7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -238,3 +238,4 @@ Released with 1.0.0-beta.37 code base. - Extend `_txInputFormatter` with hex prefix check (#3317) - Extract revert reason string for geth >= 1.9.15 (#3520) - Incorrect param encoding of BN object in arrayed inputs (#3592) +- Fix Chrome syntax error by removing mis-encoded whitespace characters from web3-utils files (#3601) diff --git a/packages/web3-utils/src/index.js b/packages/web3-utils/src/index.js index 8230a244e9f..107b1786a94 100644 --- a/packages/web3-utils/src/index.js +++ b/packages/web3-utils/src/index.js @@ -372,12 +372,12 @@ module.exports = { leftPad: utils.leftPad, padRight: utils.rightPad, rightPad: utils.rightPad, - toTwosComplement: utils.toTwosComplement, - -    isBloom: utils.isBloom, -    isUserEthereumAddressInBloom: utils.isUserEthereumAddressInBloom, -    isContractAddressInBloom: utils.isContractAddressInBloom, -    isTopic: utils.isTopic, -    isTopicInBloom: utils.isTopicInBloom, -    isInBloom: utils.isInBloom + toTwosComplement: utils.toTwosComplement, + + isBloom: utils.isBloom, + isUserEthereumAddressInBloom: utils.isUserEthereumAddressInBloom, + isContractAddressInBloom: utils.isContractAddressInBloom, + isTopic: utils.isTopic, + isTopicInBloom: utils.isTopicInBloom, + isInBloom: utils.isInBloom }; diff --git a/packages/web3-utils/src/utils.js b/packages/web3-utils/src/utils.js index da0ec263031..3cc225d47cf 100644 --- a/packages/web3-utils/src/utils.js +++ b/packages/web3-utils/src/utils.js @@ -401,7 +401,7 @@ var isBloom = function (bloom) { }; /** - * Returns true if the ethereum users address is part of the given bloom + * Returns true if the ethereum users address is part of the given bloom * note: false positives are possible. * * @method isUserEthereumAddressInBloom @@ -414,7 +414,7 @@ var isUserEthereumAddressInBloom = function (bloom, ethereumAddress) { }; /** - * Returns true if the contract address is part of the given bloom + * Returns true if the contract address is part of the given bloom * note: false positives are possible. * * @method isUserEthereumAddressInBloom