mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-02 04:34:20 +01:00
plugins/fetchinvoice: remove obsolete check for feature 102.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> xs
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user