core/rawdb: Fix comments

This commit is contained in:
pengin7384 2024-04-28 20:54:45 +09:00
parent fe1c7ecb5a
commit 70e3c694ba
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ func ReadTransaction(db ethdb.Reader, hash common.Hash) (*types.Transaction, com
// ReadReceipt retrieves a specific transaction receipt from the database, along with
// its added positional metadata.
func ReadReceipt(db ethdb.Reader, txHash common.Hash, config *params.ChainConfig) (*types.Receipt, common.Hash, uint64, uint64) {
// Retrieve the context of the receipt based on the transaction txHash
// Retrieve the context of the receipt based on the transaction hash
blockNumber := ReadTxLookupEntry(db, txHash)
if blockNumber == nil {
return nil, common.Hash{}, 0, 0