Skip to content

Commit

Permalink
Remove invisible  char from web3-utils files (#3602)
Browse files Browse the repository at this point in the history
  • Loading branch information
cgewecke authored Jun 29, 2020
1 parent 0df0fea commit 55b2d28
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
16 changes: 8 additions & 8 deletions packages/web3-utils/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
};
4 changes: 2 additions & 2 deletions packages/web3-utils/src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 55b2d28

Please sign in to comment.