doc: update to BOLT 3747ba83022cd385093df2696ed342f1e41e31b3 "Remove requirements to disconnect on warnings"

Now we don't do that anymore (at least, for sending) we can update bolt quotes to match.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2023-09-12 13:53:19 +09:30
parent 468d3fd387
commit df80a2c056
2 changed files with 3 additions and 7 deletions

View File

@@ -23,7 +23,7 @@ CCANDIR := ccan
# Where we keep the BOLT RFCs
BOLTDIR := ../bolts/
DEFAULT_BOLTVERSION := 50b2df24a27879e8329712c275db78876fd022fe
DEFAULT_BOLTVERSION := 3747ba83022cd385093df2696ed342f1e41e31b3
# Can be overridden on cmdline.
BOLTVERSION := $(DEFAULT_BOLTVERSION)

View File

@@ -448,12 +448,8 @@ static struct io_plan *encrypt_and_send(struct peer *peer,
#endif
set_urgent_flag(peer, is_urgent(type));
/* BOLT #1:
*
* A sending node:
*...
* - MAY close the connection after sending.
*/
/* We are no longer required to do this, but we do disconnect
* after sending an error or warning. */
if (type == WIRE_ERROR || type == WIRE_WARNING) {
/* Might already be draining... */
if (!peer->draining)