From da498c55bcf2a8c852447df12cebea407c3322ca Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Tue, 12 Sep 2023 13:53:20 +0930 Subject: [PATCH] doc: update to BOLT 6e85df448bfee7d10f26aabb06b8eba3d7505888 "BOLT2: change "reject" to "fail" in channel opening requirements (#1104)" Signed-off-by: Rusty Russell --- Makefile | 2 +- openingd/dualopend.c | 2 +- openingd/openingd.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 5fa138c9e4e5..8a2a5a882994 100644 --- a/Makefile +++ b/Makefile @@ -23,7 +23,7 @@ CCANDIR := ccan # Where we keep the BOLT RFCs BOLTDIR := ../bolts/ -DEFAULT_BOLTVERSION := 7dda8f84edb8655766d83619cb41110c1bf43f85 +DEFAULT_BOLTVERSION := 6e85df448bfee7d10f26aabb06b8eba3d7505888 # Can be overridden on cmdline. BOLTVERSION := $(DEFAULT_BOLTVERSION) diff --git a/openingd/dualopend.c b/openingd/dualopend.c index d3ca9aeacc92..bc99c21b1a10 100644 --- a/openingd/dualopend.c +++ b/openingd/dualopend.c @@ -3084,7 +3084,7 @@ static void opener_start(struct state *state, u8 *msg) /* BOLT #2: * - if `channel_type` is set, and `channel_type` was set in * `open_channel`, and they are not equal types: - * - MUST reject the channel. + * - MUST fail the channel. */ if (a_tlv->channel_type && !featurebits_eq(a_tlv->channel_type, diff --git a/openingd/openingd.c b/openingd/openingd.c index 82af17d35e00..f088a6a78839 100644 --- a/openingd/openingd.c +++ b/openingd/openingd.c @@ -445,7 +445,7 @@ static u8 *funder_channel_start(struct state *state, u8 channel_flags, /* BOLT #2: * - if `channel_type` is set, and `channel_type` was set in * `open_channel`, and they are not equal types: - * - MUST reject the channel. + * - MUST fail the channel. */ if (accept_tlvs->channel_type) { /* Except that v23.05 could set OPT_SCID_ALIAS in reply! */