core: fix a typo (#17941)

This commit is contained in:
Wuxiang 2018-10-19 21:33:27 +08:00 committed by Péter Szilágyi
parent aeb733623e
commit d98c45f70f

View File

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