From a3ebc1bac49cc8cf022525bbad5ff75d1638c673 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Fri, 7 Apr 2023 16:02:47 +0930 Subject: [PATCH] lightningd: update comments now channel-type is merged. It's in the main bolt, so remove qualifies from the bolt quote so they are checked. Signed-off-by: Rusty Russell --- lightningd/channel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lightningd/channel.c b/lightningd/channel.c index 5f6990b25..026a4c286 100644 --- a/lightningd/channel.c +++ b/lightningd/channel.c @@ -619,7 +619,7 @@ struct channel *any_channel_by_scid(struct lightningd *ld, p; p = peer_node_id_map_next(ld->peers, &it)) { list_for_each(&p->channels, chan, list) { - /* BOLT-channel-type #2: + /* BOLT #2: * - MUST always recognize the `alias` as a * `short_channel_id` for incoming HTLCs to this * channel. @@ -627,7 +627,7 @@ struct channel *any_channel_by_scid(struct lightningd *ld, if (chan->alias[LOCAL] && short_channel_id_eq(scid, chan->alias[LOCAL])) return chan; - /* BOLT-channel-type #2: + /* BOLT #2: * - if `channel_type` has `option_scid_alias` set: * - MUST NOT allow incoming HTLCs to this channel * using the real `short_channel_id`