From 6504eebf3698054eab2e801c32fbc7459fd7c6b2 Mon Sep 17 00:00:00 2001 From: Hardhat Chad Date: Sun, 25 Aug 2024 12:01:53 +0000 Subject: [PATCH] reset update --- program/src/reset.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/program/src/reset.rs b/program/src/reset.rs index eda9489..b6ea0a7 100644 --- a/program/src/reset.rs +++ b/program/src/reset.rs @@ -63,9 +63,9 @@ pub fn process_reset(accounts: &[AccountInfo<'_>], _data: &[u8]) -> ProgramResul let bus = Bus::try_from_bytes_mut(&mut bus_data)?; // Track top balance. - if bus.top_balance.gt(&top_balance) { - top_balance = bus.top_balance; - } + // if bus.top_balance.gt(&top_balance) { + // top_balance = bus.top_balance; + // } // Track accumulators. total_remaining_rewards = total_remaining_rewards.saturating_add(bus.rewards);