From d233e4f8699b9b605bead16ab1f4f43dbbce0eb9 Mon Sep 17 00:00:00 2001 From: SHIVAM SHARMA Date: Wed, 4 Oct 2023 12:22:08 +0530 Subject: [PATCH] fix : borTx chainID (#1021) --- internal/ethapi/api.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/ethapi/api.go b/internal/ethapi/api.go index ac5edcdfa1..6554c5ed0c 100644 --- a/internal/ethapi/api.go +++ b/internal/ethapi/api.go @@ -2021,6 +2021,7 @@ func (s *TransactionAPI) GetTransactionByHash(ctx context.Context, hash common.H // newRPCTransaction calculates hash based on RLP of the transaction data. // In case of bor block tx, we need simple derived tx hash (same as function argument) instead of RLP hash resultTx.Hash = hash + resultTx.ChainID = nil } return resultTx, nil