Rebase and panic with no accounts

Add Accounts::has_accounts function for hash_internal_state calculation.
This commit is contained in:
Stephen Akridge
2019-02-20 12:17:32 -08:00
committed by sakridge
parent c276375a0e
commit 180d297df8
5 changed files with 47 additions and 23 deletions

View File

@@ -85,7 +85,7 @@ impl Default for FullnodeConfig {
blockstream: None,
storage_rotate_count: NUM_HASHES_FOR_STORAGE_ROTATE,
tick_config: PohServiceConfig::default(),
account_paths: "0,1,2,3".to_string(),
account_paths: "".to_string(),
}
}
}
@@ -417,7 +417,7 @@ pub fn new_banks_from_blocktree(
.expect("Expected to successfully open database ledger");
let (bank_forks, bank_forks_info) =
blocktree_processor::process_blocktree(&genesis_block, &blocktree)
blocktree_processor::process_blocktree(&genesis_block, &blocktree, account_paths)
.expect("process_blocktree failed");
(