Skip to content

Commit

Permalink
remove ineffectual assignment to inner
Browse files Browse the repository at this point in the history
  • Loading branch information
magicxyyz committed Oct 2, 2023
1 parent 47eac23 commit d650824
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion core/types/transaction_marshalling.go
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,6 @@ func (tx *Transaction) UnmarshalJSON(input []byte) error {
if dec.AccessList != nil {
itx.AccessList = *dec.AccessList
}
inner = &itx
if dec.ChainID == nil {
return errors.New("missing required field 'chainId' in transaction")
}
Expand Down

0 comments on commit d650824

Please sign in to comment.