routing+itest: fix route blinding path selection bug
Here we fix a bug which would not include the selected incoming blinded path chain from being included in the selected path set if it meets the minimum length requirement. The appropriate unit test and itest is updated to demonstrate the fix.
This commit is contained in:
3 files changed
+27
-20
No files matched your search
@@ -3941,9 +3941,11 @@ func TestFindBlindedPaths(t *testing.T) {
|
||||
require.NoError(t, err)
|
||||
|
||||
// We expect the following paths:
|
||||
// - B, D
|
||||
// - F, B, D
|
||||
// - E, B, D
|
||||
assertPaths(paths, []string{
|
||||
"bob,dave",
|
||||
"frank,bob,dave",
|
||||
"eve,bob,dave",
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user