Skip to content

Commit

Permalink
eth: add config in ReadBorReceipt
Browse files Browse the repository at this point in the history
  • Loading branch information
ian authored and markya0616 committed Jun 29, 2023
1 parent 2b3775a commit 5cb2a71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eth/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ func (api *PrivateDebugAPI) GetBlockReceipts(ctx context.Context, blockHash comm
txReceipts = append(txReceipts, fields)
}

receipt := rawdb.ReadBorReceipt(api.eth.chainDb, blockHash, blockNumber.Uint64())
receipt := rawdb.ReadBorReceipt(api.eth.chainDb, blockHash, blockNumber.Uint64(), api.eth.blockchain.Config())
if receipt != nil {
tx, _, _, _ := rawdb.ReadBorTransaction(api.eth.chainDb, receipt.TxHash)
fields, err := ethapi.ToTransactionReceipt(ctx, api.eth.APIBackend, tx, receipt, blockHash, receipt.TxHash, blockNumber.Uint64(), uint64(receipt.TransactionIndex))
Expand Down

0 comments on commit 5cb2a71

Please sign in to comment.