File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1002,7 +1002,7 @@ impl Syncer {
10021002
10031003 // Variable `accounts_with_storage` unused if not in rocksdb
10041004 #[ allow( unused_variables) ]
1005- let ( computed_state_root, mut accounts_with_storage) = insert_accounts (
1005+ let ( computed_state_root, accounts_with_storage) = insert_accounts (
10061006 store. clone ( ) ,
10071007 & mut storage_accounts,
10081008 & account_state_snapshots_dir,
@@ -1080,11 +1080,8 @@ impl Syncer {
10801080 // When we fall into this case what happened is there are certain accounts for which
10811081 // the storage root went back to a previous value we already had, and thus could not download
10821082 // their storage leaves because we were using an old value for their storage root.
1083- // The fallback is to ensure we
1084- // 1. Do not try to insert its leaves, as we don't have them
1085- // 2. Mark it for storage healing.
1083+ // The fallback is to ensure we mark it for storage healing.
10861084 storage_accounts. healed_accounts . insert ( * acc_hash) ;
1087- accounts_with_storage. remove ( acc_hash) ;
10881085 debug ! (
10891086 "We couldn't download these accounts on request_storage_ranges. Falling back to storage healing for it.
10901087 Account hash: {:x?}, {:x?}. Number of intervals {}" ,
You can’t perform that action at this time.
0 commit comments