Skip to content

Commit

Permalink
Revert "core/types: add "chainID" field to legacy tx JSON encoding (e…
Browse files Browse the repository at this point in the history
…thereum#27452)"

This reverts commit 120956b.
  • Loading branch information
devopsbo3 committed Nov 10, 2023
1 parent ab54401 commit 9dbd917
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions core/types/transaction_marshalling.go
Expand Up @@ -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)
Expand Down

0 comments on commit 9dbd917

Please sign in to comment.