Skip to content

Commit

Permalink
fix: report on self
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbertoCentonze committed Sep 23, 2024
1 parent 2c9a14c commit fed6fd4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion contracts/RewardsHandler.vy
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ def take_snapshot():

supply_ratio: uint256 = supply_in_vault * 10**18 // circulating_supply

# TODO rename to _take_snapshot
twa._store_snapshot(supply_ratio)


Expand Down Expand Up @@ -252,7 +253,7 @@ def set_distribution_time(new_distribution_time: uint256):
extcall vault.setProfitMaxUnlockTime(new_distribution_time)

# enact the changes
extcall vault.process_report(self)
extcall vault.process_report(vault.address)


@external
Expand Down

0 comments on commit fed6fd4

Please sign in to comment.