From 45ef16892b4c217c4c3bdf67dff2e7a149587729 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Mon, 22 May 2023 10:21:44 +0930 Subject: [PATCH] plugins/fetchinvoice: remove obsolete check for feature 102. Signed-off-by: Rusty Russell xs --- plugins/fetchinvoice.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plugins/fetchinvoice.c b/plugins/fetchinvoice.c index ad267351f..16fa51e87 100644 --- a/plugins/fetchinvoice.c +++ b/plugins/fetchinvoice.c @@ -508,9 +508,7 @@ static bool can_carry_onionmsg(const struct gossmap *map, /* Check features of recipient */ n = gossmap_nth_node(map, c, !dir); - /* 102/103 was the old EXPERIMENTAL feature bit: remove soon! */ - return gossmap_node_get_feature(map, n, OPT_ONION_MESSAGES) != -1 - || gossmap_node_get_feature(map, n, 102) != -1; + return gossmap_node_get_feature(map, n, OPT_ONION_MESSAGES) != -1; } static struct pubkey *path_to_node(const tal_t *ctx,