Skip to content

Commit

Permalink
Better error message
Browse files Browse the repository at this point in the history
  • Loading branch information
miohtama committed Mar 22, 2024
1 parent 5b776f7 commit 3748c2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eth_defi/abi.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def get_deployed_contract(
:return:
`web3.contract.Contract` proxy
"""
assert address
assert address, f"get_deployed_contract() address was None"

address = Web3.to_checksum_address(address)

Expand Down

0 comments on commit 3748c2a

Please sign in to comment.