Skip to content

Commit

Permalink
fix: adapt to new ypm api
Browse files Browse the repository at this point in the history
  • Loading branch information
BobTheBuidler committed Apr 8, 2024
1 parent 4cc24a0 commit 4779924
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion yearn/abis.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ def __validate_unitroller_abis() -> None:
'''
good: List[Contract] = []
bad: List[Contract] = []
for address in compound.TROLLERS.values():
for troller in compound.trollers.values():
address = troller.address
# We use `Contract` instead of `contract` here so
# we don't cache any incorrect ABIs into memory.
try:
Expand Down

0 comments on commit 4779924

Please sign in to comment.