From a44b080b7f5009150519b0228eb8b1ecbc69aed2 Mon Sep 17 00:00:00 2001 From: "Jeff Washington (jwash)" Date: Wed, 14 Jun 2023 09:47:12 -0500 Subject: [PATCH] add partitioned_rewards_feature_enabled (#32115) --- runtime/src/bank.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/runtime/src/bank.rs b/runtime/src/bank.rs index add01d5d2..148f83a8c 100644 --- a/runtime/src/bank.rs +++ b/runtime/src/bank.rs @@ -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) { self.epoch_reward_status = EpochRewardStatus::Active(StartBlockHeightAndRewards {