mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-21 22:31:48 +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:
parent
ccf084156d
commit
45ef16892b
1 changed files with 1 additions and 3 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue