Skip to content

Commit

Permalink
remove 0 yield events
Browse files Browse the repository at this point in the history
  • Loading branch information
rolandpo committed Sep 1, 2023
1 parent f687ac2 commit 20c4e7f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1353,6 +1353,7 @@ def get_history_for_address(address, transaction_filter, project=OriginTokens.OU
if isinstance(tx_history[i], rebase_log):
if project != OriginTokens.WOUSD and project != OriginTokens.WOETH:
if transaction_filter == None or 'yield' in transaction_filter:
if float(tx_history[i].amount) != 0:
tx_history_filtered.append({
'block_number': tx_history[i].block_number,
'time': tx_history[i].block_time,
Expand Down

0 comments on commit 20c4e7f

Please sign in to comment.