mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 02:42:27 +00:00
eth/protocols/snap: add comments
This commit is contained in:
parent
e66eb890af
commit
87786d2845
1 changed files with 4 additions and 0 deletions
|
|
@ -1975,6 +1975,10 @@ func (s *Syncer) processAccountResponse(res *accountResponse) {
|
|||
resumed[res.hashes[i]] = struct{}{}
|
||||
largeStorageResumedGauge.Inc(1)
|
||||
} else {
|
||||
// It's possible that in the hash scheme, the storage, along
|
||||
// with the trie nodes of the given root, is already present
|
||||
// in the database. Schedule the storage task anyway to simplify
|
||||
// the logic here.
|
||||
res.task.stateTasks[res.hashes[i]] = account.Root
|
||||
}
|
||||
res.task.needState[i] = true
|
||||
|
|
|
|||
Loading…
Reference in a new issue