Skip to content

Commit 33e5876

Browse files
committed
lightningd: don't rebroadcast withheld channels' funding_psbt on restart.
Signed-off-by: Rusty Russell <[email protected]>
1 parent 8d99c5b commit 33e5876

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)