mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 07:06:42 +00:00
fix : borTx chainID (#1021)
This commit is contained in:
parent
2943db974d
commit
d233e4f869
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue