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 Sep 13, 2023
1 parent 0cf183b commit f4a6d1a
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 f4a6d1a

Please sign in to comment.