diff --git a/runtime/src/bank.rs b/runtime/src/bank.rs index 8d4c708bf9..074cff15e4 100644 --- a/runtime/src/bank.rs +++ b/runtime/src/bank.rs @@ -1140,7 +1140,7 @@ pub(crate) struct StakeReward { } impl StakeReward { - pub fn get_stake_reward(&self) -> i64 { + fn get_stake_reward(&self) -> i64 { self.stake_reward_info.lamports } }