Skip to content

Commit

Permalink
rpc: remove ConvertToEth in GetBlockReceipts
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxMustermann2 committed Dec 14, 2023
1 parent 50e5535 commit f118bf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpc/blockchain.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f118bf3

Please sign in to comment.