Skip to content

Commit

Permalink
core/rawdb: Fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
pengin7384 committed Apr 28, 2024
1 parent b4408f5 commit 84da008
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/rawdb/accessors_indexes.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ func ReadReceipt(db ethdb.Reader, txHash common.Hash, config *params.ChainConfig
return nil, common.Hash{}, 0, 0
}

// Find index by tx txHash
// Find a match tx and derive receipt fields
for txIndex, tx := range blockBody.Transactions {
if tx.Hash() == txHash {
// Read raw receipts only if hash matches
Expand Down

0 comments on commit 84da008

Please sign in to comment.