Use same max_age regardless of leader/not-leader
This commit is contained in:
committed by
Michael Vines
parent
10e808e1bd
commit
d888e0a6d7
@ -20,7 +20,7 @@ use solana_runtime::{
|
|||||||
transaction_batch::TransactionBatch,
|
transaction_batch::TransactionBatch,
|
||||||
};
|
};
|
||||||
use solana_sdk::{
|
use solana_sdk::{
|
||||||
clock::{Slot, MAX_RECENT_BLOCKHASHES},
|
clock::{Slot, MAX_PROCESSING_AGE},
|
||||||
genesis_config::GenesisConfig,
|
genesis_config::GenesisConfig,
|
||||||
hash::Hash,
|
hash::Hash,
|
||||||
pubkey::Pubkey,
|
pubkey::Pubkey,
|
||||||
@ -70,7 +70,7 @@ fn execute_batch(
|
|||||||
balances,
|
balances,
|
||||||
) = batch.bank().load_execute_and_commit_transactions(
|
) = batch.bank().load_execute_and_commit_transactions(
|
||||||
batch,
|
batch,
|
||||||
MAX_RECENT_BLOCKHASHES,
|
MAX_PROCESSING_AGE,
|
||||||
transaction_status_sender.is_some(),
|
transaction_status_sender.is_some(),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user