Skip to content

Commit

Permalink
fix: attr err
Browse files Browse the repository at this point in the history
  • Loading branch information
BobTheBuidler committed Oct 12, 2023
1 parent d497069 commit 36b0634
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions yearn/v2/strategies.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ def __init__(self, strategy: Strategy):
self.strategy = strategy
def _include_event(self, event: _EventItem) -> bool:
return event.name == "Harvested"
def _get_block_for_obj(self, block: int) -> int:
return block
# TODO: work this in somehow:
# logger.info("loaded %d harvests %s in %.3fs", len(self._harvests), self.name, time.time() - start)
def _process_event(self, event: _EventItem) -> int:
Expand Down

0 comments on commit 36b0634

Please sign in to comment.