From f118bf3b735b4eaab1acf20d170366f8e92ee49c Mon Sep 17 00:00:00 2001 From: MaxMustermann2 <82761650+MaxMustermann2@users.noreply.github.com> Date: Thu, 14 Dec 2023 17:53:10 +0000 Subject: [PATCH] rpc: remove ConvertToEth in GetBlockReceipts --- rpc/blockchain.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpc/blockchain.go b/rpc/blockchain.go index ff0312d0db..e830b30f0b 100644 --- a/rpc/blockchain.go +++ b/rpc/blockchain.go @@ -464,7 +464,7 @@ func (s *PublicBlockchainService) GetBlockReceipts( r, err = v2.NewReceipt(tx, blockHash, block.NumberU64(), index, rmap[tx.Hash()], false) case Eth: if tx, ok := tx.(*types.Transaction); ok { - r, err = v2.NewReceipt(tx.ConvertToEth(), blockHash, block.NumberU64(), index, rmap[tx.Hash()], true) + r, err = v2.NewReceipt(tx, blockHash, block.NumberU64(), index, rmap[tx.Hash()], true) } default: return nil, ErrUnknownRPCVersion