From 9d70186ec4c4edf7cf020d536a0a75557c5f6671 Mon Sep 17 00:00:00 2001 From: Cal Bera Date: Fri, 15 Aug 2025 09:50:50 -0700 Subject: [PATCH] BRG4-14: remove unneeded value check when unmarshalling PoL tx --- 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 7af302f565..9167d3cab8 100644 --- a/core/types/transaction_marshalling.go +++ b/core/types/transaction_marshalling.go @@ -548,9 +548,6 @@ func (tx *Transaction) UnmarshalJSON(input []byte) error { return errors.New("missing required field 'gas' for txdata") } itx.GasLimit = uint64(*dec.Gas) - if dec.Value == nil { - return errors.New("missing required field 'value' in transaction") - } if dec.Input == nil { return errors.New("missing required field 'input' in transaction") }