Skip to content

Commit d424fba

Browse files
gballetenriquefynn
authored andcommitted
core: fix a typo in comment (ethereum#21439)
1 parent c258fe0 commit d424fba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/block_validator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ func (v *BlockValidator) ValidateState(block *types.Block, statedb *state.StateD
8989
if rbloom != header.Bloom {
9090
return fmt.Errorf("invalid bloom (remote: %x local: %x)", header.Bloom, rbloom)
9191
}
92-
// Tre receipt Trie's root (R = (Tr [[H1, R1], ... [Hn, R1]]))
92+
// Tre receipt Trie's root (R = (Tr [[H1, R1], ... [Hn, Rn]]))
9393
receiptSha := types.DeriveSha(receipts, new(trie.Trie))
9494
if receiptSha != header.ReceiptHash {
9595
return fmt.Errorf("invalid receipt root hash (remote: %x local: %x)", header.ReceiptHash, receiptSha)

0 commit comments

Comments
 (0)