1
0
mirror of https://github.com/lightning/bolts.git synced 2024-11-19 01:50:03 +01:00

BOLT 7: don't send an announce_signatures message if we're shutting down.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2018-02-06 11:30:32 +10:30
parent 4ef035f8c2
commit b476e630b0

View File

@ -57,7 +57,7 @@ It is constructed as follows:
3. the least significant 2 bytes: indicating the output index that pays to the channel.
A node:
- if the `open_channel` message has the `announce_channel` bit set:
- if the `open_channel` message has the `announce_channel` bit set AND a `shutdown` message has not been sent:
- MUST send the `announcement_signatures` message.
- MUST NOT send `announcement_signatures` messages until `funding_locked`
has been sent AND the funding transaction has at least six confirmations.