Skip to content

Commit

Permalink
plugins/fetchinvoice: remove obsolete check for feature 102.
Browse files Browse the repository at this point in the history
Signed-off-by: Rusty Russell <[email protected]>
xs
  • Loading branch information
rustyrussell committed May 23, 2023
1 parent ccf0841 commit 45ef168
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions plugins/fetchinvoice.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 45ef168

Please sign in to comment.