Skip to content

Commit

Permalink
forwarder uses working bank as filter (solana-labs#1129)
Browse files Browse the repository at this point in the history
  • Loading branch information
apfitzge authored May 1, 2024
1 parent eeda398 commit 79ae84e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/banking_stage/forwarder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ impl Forwarder {
) {
let forward_option = unprocessed_transaction_storage.forward_option();

// get current root bank from bank_forks, use it to sanitize transaction and
// get current working bank from bank_forks, use it to sanitize transaction and
// load all accounts from address loader;
let current_bank = self.bank_forks.read().unwrap().root_bank();
let current_bank = self.bank_forks.read().unwrap().working_bank();

let mut forward_packet_batches_by_accounts =
ForwardPacketBatchesByAccounts::new_with_default_batch_limits();
Expand Down

0 comments on commit 79ae84e

Please sign in to comment.