mirror of
https://github.com/d0zingcat/ore.git
synced 2026-05-14 07:26:51 +00:00
comment out unused var
This commit is contained in:
@@ -67,9 +67,9 @@ pub fn process_reset(accounts: &[AccountInfo<'_>], _data: &[u8]) -> ProgramResul
|
||||
let mut top_balance = 0u64;
|
||||
for bus in busses {
|
||||
// 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);
|
||||
|
||||
Reference in New Issue
Block a user