Use same max_age regardless of leader/not-leader (#9423) (#9487)

automerge
This commit is contained in:
mergify[bot]
2020-04-14 02:50:42 -07:00
committed by GitHub
parent f86dcec94b
commit adb0824da5
2 changed files with 9 additions and 6 deletions

View File

@@ -20,7 +20,7 @@ use solana_runtime::{
transaction_batch::TransactionBatch,
};
use solana_sdk::{
clock::{Slot, MAX_RECENT_BLOCKHASHES},
clock::{Slot, MAX_PROCESSING_AGE},
genesis_config::GenesisConfig,
hash::Hash,
pubkey::Pubkey,
@@ -70,7 +70,7 @@ fn execute_batch(
balances,
) = batch.bank().load_execute_and_commit_transactions(
batch,
MAX_RECENT_BLOCKHASHES,
MAX_PROCESSING_AGE,
transaction_status_sender.is_some(),
);