File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -10590,11 +10590,12 @@ where
10590
10590
// - MUST set the `announcement_signatures` bit to `1` in `retransmit_flags`.
10591
10591
// - otherwise:
10592
10592
// - MUST set the `announcement_signatures` bit to `0` in `retransmit_flags`.
10593
- if self.funding.get_funding_txid() == Some(txid)
10594
- && self.context.config.announce_for_forwarding
10595
- && self.context.announcement_sigs.is_none()
10596
- {
10597
- funding_locked.retransmit(msgs::FundingLockedFlags::AnnouncementSignatures);
10593
+ if self.context.config.announce_for_forwarding {
10594
+ if self.funding.get_funding_txid() != Some(txid)
10595
+ || self.context.announcement_sigs.is_none()
10596
+ {
10597
+ funding_locked.retransmit(msgs::FundingLockedFlags::AnnouncementSignatures);
10598
+ }
10598
10599
}
10599
10600
10600
10601
funding_locked
You can’t perform that action at this time.
0 commit comments