aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWuxiang <wuxiangzhou2010@gmail.com>2018-10-19 21:33:27 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-10-19 21:33:27 +0800
commitd98c45f70f5c9e414193ff4f79fbfc04a3d7751f (patch)
tree124d05d701a4fe6ff0b8988a3d65bb9eb4087aaa
parentaeb733623e79d9b8f03036ec1a4c0717185b527d (diff)
downloaddexon-d98c45f70f5c9e414193ff4f79fbfc04a3d7751f.tar
dexon-d98c45f70f5c9e414193ff4f79fbfc04a3d7751f.tar.gz
dexon-d98c45f70f5c9e414193ff4f79fbfc04a3d7751f.tar.bz2
dexon-d98c45f70f5c9e414193ff4f79fbfc04a3d7751f.tar.lz
dexon-d98c45f70f5c9e414193ff4f79fbfc04a3d7751f.tar.xz
dexon-d98c45f70f5c9e414193ff4f79fbfc04a3d7751f.tar.zst
dexon-d98c45f70f5c9e414193ff4f79fbfc04a3d7751f.zip
core: fix a typo (#17941)
-rw-r--r--core/rawdb/accessors_chain.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/rawdb/accessors_chain.go b/core/rawdb/accessors_chain.go
index da5432832..6660e17de 100644
--- a/core/rawdb/accessors_chain.go
+++ b/core/rawdb/accessors_chain.go
@@ -278,7 +278,7 @@ func ReadReceipts(db DatabaseReader, hash common.Hash, number uint64) types.Rece
if len(data) == 0 {
return nil
}
- // Convert the revceipts from their storage form to their internal representation
+ // Convert the receipts from their storage form to their internal representation
storageReceipts := []*types.ReceiptForStorage{}
if err := rlp.DecodeBytes(data, &storageReceipts); err != nil {
log.Error("Invalid receipt array RLP", "hash", hash, "err", err)