Skip to content

Commit

Permalink
fix : borTx chainID (#1021)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xsharma authored Oct 4, 2023
1 parent 2943db9 commit d233e4f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/ethapi/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d233e4f

Please sign in to comment.