Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
changed error value
Browse files Browse the repository at this point in the history
  • Loading branch information
pgarg66 committed May 7, 2019
1 parent f80df39 commit 8a84c51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/banking_stage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ impl BankingStage {
pending_txs: &[usize],
) -> Vec<usize> {
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(
Expand Down

0 comments on commit 8a84c51

Please sign in to comment.