Skip to content

Commit

Permalink
fix : borTx chainID
Browse files Browse the repository at this point in the history
  • Loading branch information
0xsharma committed Oct 3, 2023
1 parent 2943db9 commit ef54bd0
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 ef54bd0

Please sign in to comment.