Skip to content

Commit

Permalink
offers: maintain public channel preference
Browse files Browse the repository at this point in the history
  • Loading branch information
endothermicdev committed Aug 25, 2023
1 parent 1f793c6 commit 0697731
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/offers_invreq_hook.c
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ static struct command_result *listincoming_done(struct command *cmd,
* we could use listpeers, but if it's private we probably
* don't want to blinded route through it! */
pftok = json_get_member(buf, t, "peer_features");
if (!pftok)
if (!pftok || !ci.public)
continue;
features = json_tok_bin_from_hex(tmpctx, buf, pftok);
if (!feature_offered(features, OPT_ROUTE_BLINDING))
Expand Down

0 comments on commit 0697731

Please sign in to comment.