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 <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2023-04-07 16:02:47 +09:30
parent bf9c4df0de
commit a3ebc1bac4
1 changed files with 2 additions and 2 deletions

View File

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