add partitioned_rewards_feature_enabled (#32115)

This commit is contained in:
Jeff Washington (jwash) 2023-06-14 09:47:12 -05:00 committed by GitHub
parent 1fa73e778f
commit a44b080b7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -1480,6 +1480,11 @@ impl Bank {
rent_collector.clone_with_epoch(epoch)
}
#[allow(dead_code)]
fn partitioned_rewards_feature_enabled(&self) -> bool {
false // Will be feature later. It is convenient to have a constant fn at the moment.
}
#[allow(dead_code)]
pub(crate) fn set_epoch_reward_status_active(&mut self, stake_rewards: Vec<StakeRewards>) {
self.epoch_reward_status = EpochRewardStatus::Active(StartBlockHeightAndRewards {