mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 01:43:36 +01:00
doc: upgrade to BOLTs 341ec844f13c0c0abc4fe849059fbb98173f9766
This is a slightly looser behavior, so no change needed. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
b208c0d8dd
commit
3cc6d0ec2c
2
Makefile
2
Makefile
@ -23,7 +23,7 @@ CCANDIR := ccan
|
||||
|
||||
# Where we keep the BOLT RFCs
|
||||
BOLTDIR := ../bolts/
|
||||
DEFAULT_BOLTVERSION := 2ecc091f3484f7a3450e7f5543ae851edd1e0761
|
||||
DEFAULT_BOLTVERSION := 341ec844f13c0c0abc4fe849059fbb98173f9766
|
||||
# Can be overridden on cmdline.
|
||||
BOLTVERSION := $(DEFAULT_BOLTVERSION)
|
||||
|
||||
|
@ -1254,8 +1254,9 @@ static void send_commit(struct peer *peer)
|
||||
|
||||
/* BOLT #2:
|
||||
*
|
||||
* - if no HTLCs remain in either commitment transaction:
|
||||
* - MUST NOT send any `update` message after a `shutdown`.
|
||||
* - if no HTLCs remain in either commitment transaction (including dust HTLCs)
|
||||
* and neither side has a pending `revoke_and_ack` to send:
|
||||
* - MUST NOT send any `update` message after that point.
|
||||
*/
|
||||
if (peer->shutdown_sent[LOCAL] && !num_channel_htlcs(peer->channel)) {
|
||||
status_debug("Can't send commit: final shutdown phase");
|
||||
|
Loading…
Reference in New Issue
Block a user