Skip to content

Commit

Permalink
rename filter_invalid_fee_payers
Browse files Browse the repository at this point in the history
  • Loading branch information
apfitzge committed Sep 20, 2023
1 parent 46c0cbc commit 1b8e6c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/banking_stage/packet_receiver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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<ImmutableDeserializedPacket>,
) -> (Vec<ImmutableDeserializedPacket>, usize) {
Expand Down

0 comments on commit 1b8e6c2

Please sign in to comment.