trie: fix spelling mistake (#24185)

mispelled words in comments: th enext
This commit is contained in:
Water 2022-01-04 23:23:52 +08:00 committed by GitHub
parent 356bbe343a
commit 98be5f9a72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -224,7 +224,7 @@ func (s *Sync) Missing(max int) (nodes []common.Hash, paths []SyncPath, codes []
codeHashes []common.Hash codeHashes []common.Hash
) )
for !s.queue.Empty() && (max == 0 || len(nodeHashes)+len(codeHashes) < max) { for !s.queue.Empty() && (max == 0 || len(nodeHashes)+len(codeHashes) < max) {
// Retrieve th enext item in line // Retrieve the next item in line
item, prio := s.queue.Peek() item, prio := s.queue.Peek()
// If we have too many already-pending tasks for this depth, throttle // If we have too many already-pending tasks for this depth, throttle