cleanup debugging code

This commit is contained in:
itsdevbear 2024-02-20 18:25:45 -05:00
parent b946852a66
commit 4e46e4aeb7
1 changed files with 0 additions and 3 deletions

View File

@ -37,12 +37,9 @@ func (e *ExecutionPayloadEnvelope) UnmarshalJSON(input []byte) error {
Override *bool `json:"shouldOverrideBuilder"`
}
var dec ExecutionPayloadEnvelope
panic(input)
panic("unreachable: generated code should never panic")
if err := json.Unmarshal(input, &dec); err != nil {
return err
}
if dec.ExecutionPayload == nil {
return errors.New("missing required field 'executionPayload' for ExecutionPayloadEnvelope")
}