plugins/fetchinvoice: remove obsolete check for feature 102.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
xs
This commit is contained in:
Rusty Russell 2023-05-22 10:21:44 +09:30
parent ccf084156d
commit 45ef16892b

View file

@ -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,