From 8a84c5167bc11029ef5a511a436cca6f13c408f6 Mon Sep 17 00:00:00 2001 From: Pankaj Garg Date: Tue, 7 May 2019 14:42:21 -0700 Subject: [PATCH] changed error value --- core/src/banking_stage.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/banking_stage.rs b/core/src/banking_stage.rs index cc12707cc5e496..faad90c1e76836 100644 --- a/core/src/banking_stage.rs +++ b/core/src/banking_stage.rs @@ -487,7 +487,7 @@ impl BankingStage { pending_txs: &[usize], ) -> Vec { let mut error_counters = ErrorCounters::default(); - let mut mask = vec![Err(TransactionError::AccountNotFound); transactions.len()]; + let mut mask = vec![Err(TransactionError::BlockhashNotFound); transactions.len()]; pending_txs.iter().for_each(|x| mask[*x] = Ok(())); let result = bank.check_transactions(