Skip to content

Commit

Permalink
fix: missing commit
Browse files Browse the repository at this point in the history
  • Loading branch information
BobTheBuidler committed Oct 12, 2023
1 parent def24bd commit a7ccb38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions yearn/v2/strategies.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def __init__(self, strategy, vault):
except ValueError:
self.name = strategy[:10]
self._views = safe_views(self.strategy.abi)
self._events = Harvests(self.strategy)
self._events = Harvests(self)

@async_property
async def unique_name(self):
Expand Down Expand Up @@ -80,7 +80,7 @@ def __init__(self, strategy: Strategy):
topics = [
[
encode_hex(event_abi_to_log_topic(event))
for event in strategy.abi
for event in strategy.strategy.abi
if event["type"] == "event" and event["name"] in STRATEGY_EVENTS
]
]
Expand Down

0 comments on commit a7ccb38

Please sign in to comment.