mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
Revert "core/types: add "chainID" field to legacy tx JSON encoding (#27452)"
This reverts commit 120956b80b.
This commit is contained in:
parent
ab54401c8c
commit
9dbd917c37
1 changed files with 0 additions and 3 deletions
|
|
@ -69,9 +69,6 @@ func (tx *Transaction) MarshalJSON() ([]byte, error) {
|
|||
enc.V = (*hexutil.Big)(itx.V)
|
||||
enc.R = (*hexutil.Big)(itx.R)
|
||||
enc.S = (*hexutil.Big)(itx.S)
|
||||
if tx.Protected() {
|
||||
enc.ChainID = (*hexutil.Big)(tx.ChainId())
|
||||
}
|
||||
|
||||
case *AccessListTx:
|
||||
enc.ChainID = (*hexutil.Big)(itx.ChainID)
|
||||
|
|
|
|||
Loading…
Reference in a new issue