File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -1199,6 +1199,8 @@ static struct command_result *json_sendpsbt(struct command *cmd,
11991199 struct channel * c ;
12001200
12011201 list_for_each (& p -> channels , c , list ) {
1202+ bool was_withheld ;
1203+
12021204 if (!c -> funding_psbt )
12031205 continue ;
12041206 if (psbt_is_finalized (c -> funding_psbt ))
@@ -1209,9 +1211,12 @@ static struct command_result *json_sendpsbt(struct command *cmd,
12091211 /* Found one! */
12101212 tal_free (c -> funding_psbt );
12111213 c -> funding_psbt = clone_psbt (c , sending -> psbt );
1214+ was_withheld = c -> withheld ;
1215+ c -> withheld = false;
12121216 wallet_channel_save (ld -> wallet , c );
12131217 log_info (c -> log ,
1214- "Funding PSBT sent, and stored for rexmit" );
1218+ "Funding PSBT sent, and stored for rexmit%s" ,
1219+ was_withheld ? " (was withheld)" : "" );
12151220 }
12161221 }
12171222
You can’t perform that action at this time.
0 commit comments