mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
core/rawdb: Fix comments
This commit is contained in:
parent
a133fc752a
commit
fe1c7ecb5a
1 changed files with 1 additions and 1 deletions
|
|
@ -141,7 +141,7 @@ func ReadReceipt(db ethdb.Reader, txHash common.Hash, config *params.ChainConfig
|
||||||
return nil, common.Hash{}, 0, 0
|
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 {
|
for txIndex, tx := range blockBody.Transactions {
|
||||||
if tx.Hash() == txHash {
|
if tx.Hash() == txHash {
|
||||||
// Read raw receipts only if hash matches
|
// Read raw receipts only if hash matches
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue