Skip to content

Commit 21a50de

Browse files
committed
lightningd: don't rebroadcast withheld channels' funding_psbt on restart.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
1 parent 2d89385 commit 21a50de

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lightningd/peer_control.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ void resend_opening_transactions(struct lightningd *ld)
513513
struct wally_tx *wtx;
514514
if (channel_state_uncommitted(channel->state))
515515
continue;
516-
if (!channel->funding_psbt)
516+
if (!channel->funding_psbt || channel->withheld)
517517
continue;
518518
if (channel->depth != 0)
519519
continue;

0 commit comments

Comments
 (0)