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

automerge
This commit is contained in:
mergify[bot]
2020-02-26 15:12:06 -08:00
committed by GitHub
parent 60b43e34b6
commit 87cfac12dd
6 changed files with 234 additions and 164 deletions

View File

@@ -536,7 +536,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") {