Use a different counter for validator account not found errors. (#931)

* Use a different counter for validator account not found errors.  This is a usefull signal of something going wrong with the ledger
This commit is contained in:
anatoly yakovenko
2018-08-10 15:18:44 -07:00
committed by GitHub
parent d4304eea28
commit 2318ffc704
2 changed files with 25 additions and 2 deletions

View File

@@ -58,7 +58,7 @@ impl FullNode {
sigverify_disabled: bool,
) -> FullNode {
info!("creating bank...");
let bank = Bank::default();
let bank = Bank::new_default(leader);
let entries = read_ledger(ledger_path).expect("opening ledger");