Removed pub from some functions which are actually private to improve encapsulation (#18030)

Remove the pub marker to improve encapsulation. Readability improvement only, no functional impact.
This commit is contained in:
Lijun Wang 2021-06-17 10:14:21 -07:00 committed by GitHub
parent 76d49523e9
commit 071b1ee3e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -628,7 +628,7 @@ impl BankingStage {
}
#[allow(clippy::too_many_arguments)]
pub fn process_loop(
fn process_loop(
my_pubkey: Pubkey,
verified_receiver: &CrossbeamReceiver<Vec<Packets>>,
poh_recorder: &Arc<Mutex<PohRecorder>>,
@ -1272,7 +1272,7 @@ impl BankingStage {
#[allow(clippy::too_many_arguments)]
/// Process the incoming packets
pub fn process_packets(
fn process_packets(
my_pubkey: &Pubkey,
verified_receiver: &CrossbeamReceiver<Vec<Packets>>,
poh: &Arc<Mutex<PohRecorder>>,