Skip to content

Commit

Permalink
Oak 17 - remove redundant code.
Browse files Browse the repository at this point in the history
  • Loading branch information
piobab committed Jun 21, 2024
1 parent e1ed3e8 commit 14cd967
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions contracts/vault/src/performance_fee.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,6 @@ impl PerformanceFeeState {
// initial state, first time update by deposit
if self.last_withdrawal == u64::MAX {
self.last_withdrawal = current_time;
self.accumulated_pnl = Int128::zero();
self.accumulated_fee = Uint128::zero();
return Ok(());
}

Expand Down

0 comments on commit 14cd967

Please sign in to comment.