@@ -397,7 +397,7 @@ static void stash_remote_announce_sigs(struct channel *channel,
397
397
const char * err ;
398
398
399
399
/* BOLT #7:
400
- * - if the `node_signature` OR the `bitcoin_signature` is NOT correct:
400
+ * - If the `node_signature` OR the `bitcoin_signature` is NOT correct:
401
401
* - MAY send a `warning` and close the connection, or send an
402
402
* `error` and fail the channel.
403
403
*/
@@ -680,10 +680,13 @@ void channel_gossip_got_announcement_sigs(struct channel *channel,
680
680
return ;
681
681
case CGOSSIP_ANNOUNCED :
682
682
/* BOLT #7:
683
- * - upon reconnection (once the above timing requirements
683
+ * - Upon reconnection (once the above timing requirements
684
684
* have been met):
685
- * - MUST respond to the first `announcement_signatures`
686
- * message with its own `announcement_signatures` message.
685
+ *...
686
+ * - If it receives `announcement_signatures` for the
687
+ * funding transaction:
688
+ * - MUST respond with its own `announcement_signatures`
689
+ * message.
687
690
*/
688
691
send_channel_announce_sigs (channel );
689
692
check_channel_gossip (channel );
@@ -912,13 +915,11 @@ void channel_gossip_channel_reestablished(struct channel *channel)
912
915
return ;
913
916
case CGOSSIP_NEED_PEER_SIGS :
914
917
/* BOLT #7:
915
- * - upon reconnection (once the above timing
916
- * requirements have been met):
917
- * ...
918
- * - if it has NOT received an
919
- * `announcement_signatures` message:
920
- * - SHOULD retransmit the
921
- * `announcement_signatures` message.
918
+ * - Upon reconnection (once the above timing requirements have
919
+ * been met):
920
+ * - If it has NOT previously received
921
+ * `announcement_signatures` for the funding transaction:
922
+ * - MUST send its own `announcement_signatures` message.
922
923
*/
923
924
send_private_cupdate (channel , true);
924
925
send_channel_announce_sigs (channel );
0 commit comments