mirror of
https://github.com/d0zingcat/ore.git
synced 2026-05-16 15:10:20 +00:00
reset bus top balance
This commit is contained in:
@@ -91,6 +91,7 @@ pub fn process_reset<'a, 'info>(
|
||||
total_theoretical_rewards.saturating_add(bus.theoretical_rewards);
|
||||
bus.rewards = BUS_EPOCH_REWARDS;
|
||||
bus.theoretical_rewards = 0;
|
||||
bus.top_balance = 0;
|
||||
}
|
||||
let total_epoch_rewards = MAX_EPOCH_REWARDS.saturating_sub(total_remaining_rewards);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user