Skip to content

Commit 2f8a7d1

Browse files
Merge pull request ethereum#184 from OffchainLabs/optional-retry-to
Retryable RetryTo field should not be required in JSON unmarshalling
2 parents 8b699f4 + 0ced341 commit 2f8a7d1

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

core/types/transaction_marshalling.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -591,9 +591,6 @@ func (t *Transaction) UnmarshalJSON(input []byte) error {
591591
if dec.Gas == nil {
592592
return errors.New("missing required field 'gas' in txdata")
593593
}
594-
if dec.RetryTo == nil {
595-
return errors.New("missing required field 'retryTo' in txdata")
596-
}
597594
if dec.Beneficiary == nil {
598595
return errors.New("missing required field 'beneficiary' in transaction")
599596
}

0 commit comments

Comments
 (0)