Remove Copy from AccountsIndexConfig. Not all types will support it (#19686)

This commit is contained in:
Jeff Washington (jwash)
2021-09-07 20:09:40 -05:00
committed by GitHub
parent 16ab273bf6
commit d3f938f0cf
5 changed files with 5 additions and 5 deletions

View File

@ -58,7 +58,7 @@ pub fn safe_clone_config(config: &ValidatorConfig) -> ValidatorConfig {
poh_hashes_per_batch: config.poh_hashes_per_batch,
no_wait_for_vote_to_start_leader: config.no_wait_for_vote_to_start_leader,
accounts_shrink_ratio: config.accounts_shrink_ratio,
accounts_index_config: config.accounts_index_config,
accounts_index_config: config.accounts_index_config.clone(),
}
}