Skip to content

Commit

Permalink
Merge pull request ethereum#184 from OffchainLabs/optional-retry-to
Browse files Browse the repository at this point in the history
Retryable RetryTo field should not be required in JSON unmarshalling
  • Loading branch information
rachel-bousfield authored Dec 1, 2022
2 parents 8b699f4 + 0ced341 commit 2f8a7d1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions core/types/transaction_marshalling.go
Original file line number Diff line number Diff line change
Expand Up @@ -591,9 +591,6 @@ func (t *Transaction) UnmarshalJSON(input []byte) error {
if dec.Gas == nil {
return errors.New("missing required field 'gas' in txdata")
}
if dec.RetryTo == nil {
return errors.New("missing required field 'retryTo' in txdata")
}
if dec.Beneficiary == nil {
return errors.New("missing required field 'beneficiary' in transaction")
}
Expand Down

0 comments on commit 2f8a7d1

Please sign in to comment.