浏览代码

core/state/snapshot: fix typo (#408)

strorage -> storage
Ikko Ashimine 4 年之前
父节点
当前提交
bca9678547
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      core/state/snapshot/iterator.go

+ 1 - 1
core/state/snapshot/iterator.go

@@ -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()
 }