mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 13:21:37 +00:00
miner: fix lint issue
This commit is contained in:
parent
a5477289a0
commit
62b4ba67e1
1 changed files with 4 additions and 4 deletions
|
|
@ -329,10 +329,10 @@ func (miner *Miner) buildPayload(ctx context.Context, args *BuildPayloadArgs, wi
|
|||
return payload, nil
|
||||
}
|
||||
|
||||
func (p *Payload) updateSpanForDelivery(bSpan trace.Span) {
|
||||
p.lock.Lock()
|
||||
emptyDelivered := p.full == nil
|
||||
p.lock.Unlock()
|
||||
func (payload *Payload) updateSpanForDelivery(bSpan trace.Span) {
|
||||
payload.lock.Lock()
|
||||
emptyDelivered := payload.full == nil
|
||||
payload.lock.Unlock()
|
||||
bSpan.SetAttributes(
|
||||
telemetry.StringAttribute("exit.reason", "delivery"),
|
||||
telemetry.BoolAttribute("empty.delivered", emptyDelivered),
|
||||
|
|
|
|||
Loading…
Reference in a new issue