Skip to content

Commit

Permalink
Revert "Merge pull request #1 from ExodusMovement/rich/remove-warning"
Browse files Browse the repository at this point in the history
This reverts commit 06805c1, reversing
changes made to 816124a.
  • Loading branch information
RichAyotte committed Nov 22, 2021
1 parent 5b75ad9 commit 3501f3c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils.ts
Expand Up @@ -14,6 +14,7 @@ export function validateSolidityTypeInstance(value: JSBI, solidityType: Solidity
export function validateAndParseAddress(address: string): string {
try {
const checksummedAddress = getAddress(address)
warning(address === checksummedAddress, `${address} is not checksummed.`)
return checksummedAddress
} catch (error) {
invariant(false, `${address} is not a valid address.`)
Expand Down

0 comments on commit 3501f3c

Please sign in to comment.