From 3185ffaa739ad5771d1cfaebb71f45a9a610b383 Mon Sep 17 00:00:00 2001 From: jonny rhea Date: Wed, 17 Dec 2025 16:59:48 -0600 Subject: [PATCH] fix lint issues --- eth/catalyst/otel.go | 1 - eth/catalyst/simulated_beacon.go | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/eth/catalyst/otel.go b/eth/catalyst/otel.go index 170c5bde95..c08092e1e1 100644 --- a/eth/catalyst/otel.go +++ b/eth/catalyst/otel.go @@ -26,7 +26,6 @@ var ( // initEngineTelemetry initializes the OpenTelemetry tracing for the engine API. func initEngineTelemetry() { - // TODO(jrhea): allow caller to provide init context once lifecycle plumbing exists. ctx, cancel := context.WithTimeout(context.Background(), time.Second) defer cancel() diff --git a/eth/catalyst/simulated_beacon.go b/eth/catalyst/simulated_beacon.go index 041d5b9b9d..4b014cdd5f 100644 --- a/eth/catalyst/simulated_beacon.go +++ b/eth/catalyst/simulated_beacon.go @@ -255,7 +255,7 @@ func (c *SimulatedBeacon) sealBlock(withdrawals []*types.Withdrawal, timestamp u requests = envelope.Requests } - method := newPayloadV1 + var method newPayloadMethod switch version { case engine.PayloadV1: method = newPayloadV1