Skip to content

Commit

Permalink
fix: json go err
Browse files Browse the repository at this point in the history
  • Loading branch information
BobTheBuidler committed Sep 11, 2023
1 parent 64943b1 commit 11cec69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yearn/v2/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def load_registry(self):

for r in registries[:]:
if hasattr(r, 'releaseRegistry') and "ReleaseRegistryUpdated" in r.topics:
logs = get_logs_asap(str(r), r.topics["ReleaseRegistryUpdated"])
logs = get_logs_asap(str(r), [r.topics["ReleaseRegistryUpdated"]])
# Add all past and present Release Registries
registries.extend({contract(event['address']) for event in decode_logs(logs)})
return registries
Expand Down

0 comments on commit 11cec69

Please sign in to comment.