From 7c6478da8fd87d9f2754a50d9c0da9b60bb2ce5b Mon Sep 17 00:00:00 2001 From: "Jeff Washington (jwash)" Date: Tue, 16 May 2023 15:53:57 -0500 Subject: [PATCH] remove unnecessary pub (#31676) --- runtime/src/bank.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } }