BRG4-14: remove unneeded value check when unmarshalling PoL tx

This commit is contained in:
Cal Bera 2025-08-15 09:50:50 -07:00
parent 7f6ad26038
commit 9d70186ec4

View file

@ -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")
}