bcli: print sendrawtx every time (even on failures)

This commit is contained in:
niftynei 2020-12-09 13:04:02 -06:00 committed by Christian Decker
parent 52af729641
commit f9a2489424

View File

@ -594,7 +594,7 @@ static struct command_result *process_sendrawtransaction(struct bitcoin_cli *bcl
struct json_stream *response;
/* This is useful for functional tests. */
if (*bcli->exitstatus == 0)
if (bcli->exitstatus)
plugin_log(bcli->cmd->plugin, LOG_DBG, "sendrawtx exit %i (%s)",
*bcli->exitstatus, bcli_args(bcli));