Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove invisible  char from web3-utils files #3602

Merged
merged 2 commits into from Jun 29, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
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
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
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