Skip to content

Commit 575d0d6

Browse files
chore: remove TODO
1 parent d36f76e commit 575d0d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contracts/LMCallback.vy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def _checkpoint_collateral_shares(n_start: int256, collateral_per_share: DynArra
158158
total_collateral: uint256 = staticcall COLLATERAL_TOKEN.balanceOf(AMM.address)
159159
delta_rpc: uint256 = 0
160160

161-
if total_collateral > 0 and block.timestamp > I_rpc.t: # XXX should we not loop when total_collateral == 0?
161+
if total_collateral > 0 and block.timestamp > I_rpc.t:
162162
extcall GAUGE_CONTROLLER.checkpoint_gauge(self)
163163
prev_week_time: uint256 = I_rpc.t
164164
week_time: uint256 = min(unsafe_div(prev_week_time + WEEK, WEEK) * WEEK, block.timestamp)

0 commit comments

Comments
 (0)