routing+routerrpc: add multiple outgoing channel restriction

This commit is contained in:
Joost Jager committed 2020-05-12 07:17:24 +02:00
1 parent 53e4876a1d
commit c33d94ff27
11 files changed
+287 -214

No files matched your search

+1 -1
View File
@@ -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")
}