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

@ -1171,7 +1171,7 @@ fn new_banks_from_ledger(
debug_keys: config.debug_keys.clone(),
account_indexes: config.account_indexes.clone(),
accounts_db_caching_enabled: config.accounts_db_caching_enabled,
accounts_index_config: config.accounts_index_config,
accounts_index_config: config.accounts_index_config.clone(),
shrink_ratio: config.accounts_shrink_ratio,
accounts_db_test_hash_calculation: config.accounts_db_test_hash_calculation,
accounts_db_skip_shrink: config.accounts_db_skip_shrink,