Merge pull request #204 from eltociear/patch-2

core: fix typo in iterator.go
This commit is contained in:
Sandeep Sreenath 2021-10-11 15:39:47 +05:30 committed by GitHub
commit db99e0b987
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -385,7 +385,7 @@ func (it *diskStorageIterator) Hash() common.Hash {
return common.BytesToHash(it.it.Key()) // The prefix will be truncated
}
// Slot returns the raw strorage slot content the iterator is currently at.
// Slot returns the raw storage slot content the iterator is currently at.
func (it *diskStorageIterator) Slot() []byte {
return it.it.Value()
}