mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-03 18:57:06 +01:00
doc: update to BOLT 6e85df448bfee7d10f26aabb06b8eba3d7505888 "BOLT2: change "reject" to "fail" in channel opening requirements (#1104)"
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
4dfbaa3ebe
commit
da498c55bc
3 changed files with 3 additions and 3 deletions
2
Makefile
2
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)
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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! */
|
||||
|
|
Loading…
Add table
Reference in a new issue