File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -446,7 +446,7 @@ static void send_channel_initial_update(struct peer *peer)
446
446
/* If `stfu` is already active then the channel is being mutated quickly
447
447
* after creation. These mutations (ie. splice) must announce the
448
448
* channel when they finish anyway, so it is safe to skip it here */
449
- if (!is_stfu_active (peer ))
449
+ if (!is_stfu_active (peer ) && ! peer -> want_stfu )
450
450
send_channel_update (peer , 0 );
451
451
}
452
452
@@ -597,7 +597,7 @@ static void announce_channel(struct peer *peer)
597
597
598
598
static void announce_channel_if_not_stfu (struct peer * peer )
599
599
{
600
- if (!is_stfu_active (peer ))
600
+ if (!is_stfu_active (peer ) && ! peer -> want_stfu )
601
601
announce_channel (peer );
602
602
}
603
603
@@ -1734,7 +1734,7 @@ static void send_commit(struct peer *peer)
1734
1734
1735
1735
static void send_commit_if_not_stfu (struct peer * peer )
1736
1736
{
1737
- if (!is_stfu_active (peer )) {
1737
+ if (!is_stfu_active (peer ) && ! peer -> want_stfu ) {
1738
1738
send_commit (peer );
1739
1739
}
1740
1740
else {
You can’t perform that action at this time.
0 commit comments