Skip to content

Commit

Permalink
doc: update to BOLT 3747ba83022cd385093df2696ed342f1e41e31b3 "Remove …
Browse files Browse the repository at this point in the history
…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 <[email protected]>
  • Loading branch information
rustyrussell committed Sep 20, 2023
1 parent 468d3fd commit df80a2c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
8 changes: 2 additions & 6 deletions connectd/multiplex.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit df80a2c

Please sign in to comment.