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 @@ -1169,6 +1169,8 @@ static struct command_result *json_sendpsbt(struct command *cmd,
11691169 struct channel * c ;
11701170
11711171 list_for_each (& p -> channels , c , list ) {
1172+ bool was_withheld ;
1173+
11721174 if (!c -> funding_psbt )
11731175 continue ;
11741176 if (psbt_is_finalized (c -> funding_psbt ))
@@ -1179,9 +1181,12 @@ static struct command_result *json_sendpsbt(struct command *cmd,
11791181 /* Found one! */
11801182 tal_free (c -> funding_psbt );
11811183 c -> funding_psbt = clone_psbt (c , sending -> psbt );
1184+ was_withheld = c -> withheld ;
1185+ c -> withheld = false;
11821186 wallet_channel_save (ld -> wallet , c );
11831187 log_info (c -> log ,
1184- "Funding PSBT sent, and stored for rexmit" );
1188+ "Funding PSBT sent, and stored for rexmit%s" ,
1189+ was_withheld ? " (was withheld)" : "" );
11851190 }
11861191 }
11871192
You can’t perform that action at this time.
0 commit comments