mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-18 19:00:46 +00:00
Merge 808f810b5f into dddbaa4bf3
This commit is contained in:
commit
debc34faa3
1 changed files with 1 additions and 0 deletions
|
|
@ -75,6 +75,7 @@ func NewLazyQueue[P cmp.Ordered, V any](setIndex SetIndexCallback[V], priority P
|
|||
func (q *LazyQueue[P, V]) Reset() {
|
||||
q.queue[0] = newSstack[P, V](q.setIndex0)
|
||||
q.queue[1] = newSstack[P, V](q.setIndex1)
|
||||
q.indexOffset = 0
|
||||
}
|
||||
|
||||
// Refresh performs queue re-evaluation if necessary
|
||||
|
|
|
|||
Loading…
Reference in a new issue