routing: fix MC probability order for blinded paths
Fix the blinded path probability sorting function. Also fix the test assertion function.
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -3150,7 +3150,7 @@ func TestFindBlindedPathsWithMC(t *testing.T) {
|
||||
}
|
||||
|
||||
for i, path := range expectedPaths {
|
||||
require.Equal(t, expectedPaths[i], path)
|
||||
require.Equal(t, path, actualPaths[i])
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user