Validate the genesis config downloaded over RPC before accepting it (bp #8474) (#8480)

automerge
This commit is contained in:
mergify[bot]
2020-02-26 14:54:01 -08:00
committed by GitHub
parent 536e01121f
commit 242afa7e6b
6 changed files with 234 additions and 164 deletions

View File

@@ -537,7 +537,6 @@ fn load_bank_forks(
snapshot_interval_slots: 0, // Value doesn't matter
snapshot_package_output_path: ledger_path.clone(),
snapshot_path: ledger_path.clone().join("snapshot"),
trusted_validators: None,
})
};
let account_paths = if let Some(account_paths) = arg_matches.value_of("account_paths") {