forked from cerc-io/plugeth
trie: fix spelling mistake (#24185)
mispelled words in comments: th enext
This commit is contained in:
parent
356bbe343a
commit
98be5f9a72
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user