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

@ -157,7 +157,7 @@ fn load_from_snapshot(
process_options.accounts_db_test_hash_calculation,
process_options.accounts_db_skip_shrink,
process_options.verify_index,
process_options.accounts_index_config,
process_options.accounts_index_config.clone(),
)
.expect("Load from snapshot failed");

View File

@ -504,7 +504,7 @@ pub fn process_blockstore(
opts.accounts_db_caching_enabled,
opts.shrink_ratio,
false,
opts.accounts_index_config,
opts.accounts_index_config.clone(),
);
let bank0 = Arc::new(bank0);
info!("processing ledger for slot 0...");