fix lint issues

This commit is contained in:
jonny rhea 2025-12-17 16:59:48 -06:00
parent 160ff4f647
commit 3185ffaa73
2 changed files with 1 additions and 2 deletions

View file

@ -26,7 +26,6 @@ var (
// initEngineTelemetry initializes the OpenTelemetry tracing for the engine API. // initEngineTelemetry initializes the OpenTelemetry tracing for the engine API.
func initEngineTelemetry() { func initEngineTelemetry() {
// TODO(jrhea): allow caller to provide init context once lifecycle plumbing exists. // TODO(jrhea): allow caller to provide init context once lifecycle plumbing exists.
ctx, cancel := context.WithTimeout(context.Background(), time.Second) ctx, cancel := context.WithTimeout(context.Background(), time.Second)
defer cancel() defer cancel()

View file

@ -255,7 +255,7 @@ func (c *SimulatedBeacon) sealBlock(withdrawals []*types.Withdrawal, timestamp u
requests = envelope.Requests requests = envelope.Requests
} }
method := newPayloadV1 var method newPayloadMethod
switch version { switch version {
case engine.PayloadV1: case engine.PayloadV1:
method = newPayloadV1 method = newPayloadV1