Skip to content

Commit

Permalink
rebasing
Browse files Browse the repository at this point in the history
  • Loading branch information
aeyakovenko committed Jan 25, 2019
1 parent 835a554 commit c0bc83b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/bank_state.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
use crate::accounts::{Accounts, ErrorCounters, InstructionAccounts, InstructionLoaders};
use crate::bank::{BankError, Result};
use crate::counter::Counter;
use solana_sdk::native_program::ProgramError;
use crate::entry::Entry;
use crate::last_id_queue::{LastIdQueue, MAX_ENTRY_IDS};
use crate::leader_scheduler::TICKS_PER_BLOCK;
Expand Down Expand Up @@ -498,7 +499,7 @@ impl BankState {
locks.to_vec(),
MAX_ENTRY_IDS,
);
let results = Bank::ignore_program_errors(old_results);
let results = BankState::ignore_program_errors(results);
head.unlock_accounts(&e.transactions, &results);
BankCheckpoint::first_err(&results)
})
Expand Down

0 comments on commit c0bc83b

Please sign in to comment.