From 1b8e6c26d5a1e2059d0ba0fc199a0b6ef574f954 Mon Sep 17 00:00:00 2001 From: Andrew Fitzgerald Date: Thu, 7 Sep 2023 18:06:59 +0000 Subject: [PATCH] rename filter_invalid_fee_payers --- core/src/banking_stage/packet_receiver.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/banking_stage/packet_receiver.rs b/core/src/banking_stage/packet_receiver.rs index a8a04e1fd27136..659614a38eb402 100644 --- a/core/src/banking_stage/packet_receiver.rs +++ b/core/src/banking_stage/packet_receiver.rs @@ -122,7 +122,7 @@ impl PacketReceiver { let mut dropped_packets_count = 0; let mut newly_buffered_packets_count = 0; let (deserialized_packets, num_filter_dropped_packets) = - Self::filter_packets(&self.invalid_fee_payer_filter, deserialized_packets); + Self::filter_invalid_fee_payers(&self.invalid_fee_payer_filter, deserialized_packets); dropped_packets_count += num_filter_dropped_packets; Self::push_unprocessed( @@ -149,7 +149,7 @@ impl PacketReceiver { .swap(unprocessed_transaction_storage.len(), Ordering::Relaxed); } - fn filter_packets( + fn filter_invalid_fee_payers( invalid_fee_payer_filter: &InvalidFeePayerFilter, deserialized_packets: Vec, ) -> (Vec, usize) {