Skip to content

Commit

Permalink
Fix misleading comment (#3678)
Browse files Browse the repository at this point in the history
  • Loading branch information
junderw authored Aug 9, 2020
1 parent e31a9db commit dbf659a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/web3-utils/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ var toChecksumAddress = function (address) {
var checksumAddress = '0x';

for (var i = 0; i < address.length; i++ ) {
// If ith character is 9 to f then make it uppercase
// If ith character is 8 to f then make it uppercase
if (parseInt(addressHash[i], 16) > 7) {
checksumAddress += address[i].toUpperCase();
} else {
Expand Down

0 comments on commit dbf659a

Please sign in to comment.