mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 05:36:46 +00:00
BRG4-14: remove unneeded value check when unmarshalling PoL tx
This commit is contained in:
parent
7f6ad26038
commit
9d70186ec4
1 changed files with 0 additions and 3 deletions
|
|
@ -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")
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue