validator restart
This commit is contained in:
committed by
Michael Vines
parent
bd633d2b81
commit
dc5c6e7cf8
@@ -298,7 +298,7 @@ fn get_bank_forks(
|
||||
snapshot_path: Option<String>,
|
||||
) -> (BankForks, Vec<BankForksInfo>, LeaderScheduleCache) {
|
||||
if snapshot_path.is_some() {
|
||||
let bank_forks = BankForks::load_from_snapshot(&snapshot_path);
|
||||
let bank_forks = BankForks::load_from_snapshot(&genesis_block, &snapshot_path);
|
||||
match bank_forks {
|
||||
Ok(v) => {
|
||||
let bank = &v.working_bank();
|
||||
|
Reference in New Issue
Block a user