Skip to content

Commit b99986f

Browse files
committed
miner: move cond.Broadcast back outside fee comparison in update
1 parent cd3d367 commit b99986f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

miner/payload_building.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,9 @@ func (payload *Payload) update(r *newPayloadResult, elapsed time.Duration) bool
132132
"root", r.block.Root(),
133133
"elapsed", common.PrettyDuration(elapsed),
134134
)
135-
payload.cond.Broadcast() // fire signal for notifying full block
136135
return true
137136
}
137+
payload.cond.Broadcast() // fire signal for notifying full block
138138
return false
139139
}
140140

0 commit comments

Comments
 (0)