Fix rooted accounts cleanup, simplify locking (#12194)
Co-authored-by: Carl Lin <carl@solana.com>
This commit is contained in:
@ -1805,7 +1805,7 @@ fn main() {
|
||||
);
|
||||
assert!(bank.is_complete());
|
||||
bank.squash();
|
||||
bank.clean_accounts();
|
||||
bank.clean_accounts(true);
|
||||
bank.update_accounts_hash();
|
||||
if rehash {
|
||||
bank.rehash();
|
||||
@ -1823,7 +1823,7 @@ fn main() {
|
||||
&bank,
|
||||
&slot_snapshot_paths,
|
||||
&temp_dir,
|
||||
&bank.src.roots(),
|
||||
bank.src.slot_deltas(&bank.src.roots()),
|
||||
output_directory,
|
||||
storages,
|
||||
CompressionType::Bzip2,
|
||||
|
Reference in New Issue
Block a user