mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-03 18:22:25 +02:00
routing: correct recent type change in heap_test.go
This commit is contained in:
@@ -26,7 +26,7 @@ func TestHeapOrdering(t *testing.T) {
|
|||||||
sortedEntries := make([]nodeWithDist, 0, numEntries)
|
sortedEntries := make([]nodeWithDist, 0, numEntries)
|
||||||
for i := 0; i < numEntries; i++ {
|
for i := 0; i < numEntries; i++ {
|
||||||
entry := nodeWithDist{
|
entry := nodeWithDist{
|
||||||
dist: prand.Float64(),
|
dist: prand.Int63(),
|
||||||
}
|
}
|
||||||
|
|
||||||
heap.Push(&nodeHeap, entry)
|
heap.Push(&nodeHeap, entry)
|
||||||
|
Reference in New Issue
Block a user