We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 745d19d commit edcf038Copy full SHA for edcf038
plugins/spender/splice.c
@@ -74,9 +74,11 @@ static struct command_result *unreserve_get_result(struct command *cmd,
74
&splice_cmd->final_txid);
75
}
76
77
- json_array_start(response, "log");
78
- debug_log_to_json(response, splice_cmd->debug_log);
79
- json_array_end(response);
+ if (splice_cmd->debug_log) {
+ json_array_start(response, "log");
+ debug_log_to_json(response, splice_cmd->debug_log);
80
+ json_array_end(response);
81
+ }
82
83
tal_free(abort_pkg);
84
return command_finished(cmd, response);
0 commit comments