diff --git a/Makefile b/Makefile index edda401b6..e0c3d47c9 100644 --- a/Makefile +++ b/Makefile @@ -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) diff --git a/connectd/multiplex.c b/connectd/multiplex.c index 1864b3784..5f535f839 100644 --- a/connectd/multiplex.c +++ b/connectd/multiplex.c @@ -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)