mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-22 04:36:42 +00:00
fix lint issues
This commit is contained in:
parent
160ff4f647
commit
3185ffaa73
2 changed files with 1 additions and 2 deletions
|
|
@ -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()
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue