lnrpc: deprecate OutgoingChanId

In this commit we deprecate the OutgoingChanId field in the
QueryRoutes in favor of OutgoingChanIds.
This commit is contained in:
Abdullahi Yunus committed 2025-07-15 18:42:56 +01:00
1 parent 3c40233f83
commit 7faf20bd56
3 files changed
+1744 -1741

No files matched your search

+3 -3
View File
@@ -3158,10 +3158,10 @@ message QueryRoutesRequest {
map<uint64, bytes> dest_custom_records = 13;
/*
The channel id of the channel that must be taken to the first hop. If zero,
any channel may be used.
Deprecated, use outgoing_chan_ids. The channel id of the channel that must
be taken to the first hop. If zero, any channel may be used.
*/
uint64 outgoing_chan_id = 14 [jstype = JS_STRING];
uint64 outgoing_chan_id = 14 [jstype = JS_STRING, deprecated = true];
/*
The pubkey of the last hop of the route. If empty, any hop may be used.