mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-11-11 22:57:59 +01:00
routing+routerrpc: add multiple outgoing channel restriction
This commit is contained in:
@@ -159,7 +159,7 @@ func testQueryRoutes(t *testing.T, useMissionControl bool, useMsat bool) {
|
||||
t.Fatal("unexpected last hop")
|
||||
}
|
||||
|
||||
if *restrictions.OutgoingChannelID != outgoingChan {
|
||||
if restrictions.OutgoingChannelIDs[0] != outgoingChan {
|
||||
t.Fatal("unexpected outgoing channel id")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user