From 0ced3410decf76dd23dab74016d45d753241dcda Mon Sep 17 00:00:00 2001 From: Lee Bousfield Date: Wed, 30 Nov 2022 20:32:40 -0700 Subject: [PATCH] Retryable RetryTo field is not required in JSON unmarshalling --- core/types/transaction_marshalling.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/core/types/transaction_marshalling.go b/core/types/transaction_marshalling.go index 4a140054ff51..a5b42f3fafeb 100644 --- a/core/types/transaction_marshalling.go +++ b/core/types/transaction_marshalling.go @@ -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") }