add partitioned_rewards_feature_enabled (#32115)
This commit is contained in:
parent
1fa73e778f
commit
a44b080b7f
|
@ -1480,6 +1480,11 @@ impl Bank {
|
||||||
rent_collector.clone_with_epoch(epoch)
|
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)]
|
#[allow(dead_code)]
|
||||||
pub(crate) fn set_epoch_reward_status_active(&mut self, stake_rewards: Vec<StakeRewards>) {
|
pub(crate) fn set_epoch_reward_status_active(&mut self, stake_rewards: Vec<StakeRewards>) {
|
||||||
self.epoch_reward_status = EpochRewardStatus::Active(StartBlockHeightAndRewards {
|
self.epoch_reward_status = EpochRewardStatus::Active(StartBlockHeightAndRewards {
|
||||||
|
|
Loading…
Reference in New Issue