Skip to content

Commit

Permalink
Merge pull request #842 from eth-brownie/fix-contract-at
Browse files Browse the repository at this point in the history
fix: resolve address during contract.at
  • Loading branch information
iamdefinitelyahuman authored Nov 11, 2020
2 parents 5ae34bd + 21f8294 commit 6ab8f6d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions brownie/network/contract.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ def at(
address: Address string of the contract.
owner: Default Account instance to send contract transactions from.
tx: Transaction ID of the contract creation."""
address = _resolve_address(address)
contract = _find_contract(address)
if isinstance(contract, ProjectContract):
if contract._name == self._name and contract._project == self._project:
Expand Down

0 comments on commit 6ab8f6d

Please sign in to comment.