Add the missing space between "if" and "("

Changelog-None
This commit is contained in:
Vasil Dimov
2020-01-05 16:52:34 +01:00
committed by Christian Decker
parent 0ac91b4f99
commit 2ea91f834c
13 changed files with 16 additions and 16 deletions

View File

@@ -554,7 +554,7 @@ static void test_invoice(struct command *cmd,
const jsmntok_t *preimagetok;
assert(cmd->mode == CMD_USAGE);
if(!param(cmd, buffer, params,
if (!param(cmd, buffer, params,
p_req("msatoshi", param_u64, &msatoshi_val),
p_req("label", param_label, &label_val),
p_req("description", param_escaped_string, &desc_val),

View File

@@ -71,7 +71,7 @@ struct command_result *param_utxos(struct command *cmd,
"Could not get a txid out of \"%s\"",
json_strdup(tmpctx, buffer, &txid_tok));
}
if(!json_to_number(buffer, (const jsmntok_t*)&outnum_tok, outnum))
if (!json_to_number(buffer, (const jsmntok_t*)&outnum_tok, outnum))
return command_fail(cmd, JSONRPC2_INVALID_PARAMS,
"Could not get a vout out of \"%s\"",
json_strdup(tmpctx, buffer, &outnum_tok));