diff --git a/core/state/snapshot/iterator.go b/core/state/snapshot/iterator.go index 350d6b9183..c1a196c7ff 100644 --- a/core/state/snapshot/iterator.go +++ b/core/state/snapshot/iterator.go @@ -89,7 +89,7 @@ func (dl *diffLayer) AccountIterator(seek common.Hash) AccountIterator { index := sort.Search(len(hashes), func(i int) bool { return bytes.Compare(seek[:], hashes[i][:]) <= 0 }) - // Assemble and returned the already sought iterator + // Assemble and returned the already seeked iterator return &diffAccountIterator{ layer: dl, keys: hashes[index:], @@ -255,7 +255,7 @@ func (dl *diffLayer) StorageIterator(account common.Hash, seek common.Hash) (Sto index := sort.Search(len(hashes), func(i int) bool { return bytes.Compare(seek[:], hashes[i][:]) <= 0 }) - // Assemble and returned the already sought iterator + // Assemble and returned the already seeked iterator return &diffStorageIterator{ layer: dl, account: account,