Skip to content

Commit d05b339

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

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
@@ -542,7 +542,7 @@ void resend_opening_transactions(struct lightningd *ld)
542542
struct wally_tx *wtx;
543543
if (channel_state_uncommitted(channel->state))
544544
continue;
545-
if (!channel->funding_psbt)
545+
if (!channel->funding_psbt || channel->withheld)
546546
continue;
547547
if (channel->depth != 0)
548548
continue;

0 commit comments

Comments
 (0)