Skip to content

Commit 61d9c28

Browse files
fixup: do not immediately queue broadcast on transactions_confirmed, instead mark it as should_broadcast_commitment for later queueing
1 parent 6243f74 commit 61d9c28

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

lightning/src/chain/channelmonitor.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5285,12 +5285,7 @@ impl<Signer: EcdsaChannelSigner> ChannelMonitorImpl<Signer> {
52855285

52865286
if self.is_manual_broadcast && !funding_seen_before && self.funding_seen_onchain && self.holder_tx_signed
52875287
{
5288-
self.queue_latest_holder_commitment_txn_for_broadcast(
5289-
&broadcaster,
5290-
fee_estimator,
5291-
logger,
5292-
true,
5293-
);
5288+
should_broadcast_commitment = true;
52945289
}
52955290
'tx_iter: for tx in &txn_matched {
52965291
let txid = tx.compute_txid();

0 commit comments

Comments
 (0)