From fe1c7ecb5a820c64392343ecb81a05845eb189f6 Mon Sep 17 00:00:00 2001 From: pengin7384 Date: Sun, 28 Apr 2024 18:58:52 +0900 Subject: [PATCH] core/rawdb: Fix comments --- core/rawdb/accessors_indexes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/rawdb/accessors_indexes.go b/core/rawdb/accessors_indexes.go index 546df837f8..518ec9ed03 100644 --- a/core/rawdb/accessors_indexes.go +++ b/core/rawdb/accessors_indexes.go @@ -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