mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 07:04:22 +01:00
Add the missing space between "if" and "("
Changelog-None
This commit is contained in:
committed by
Christian Decker
parent
0ac91b4f99
commit
2ea91f834c
@@ -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),
|
||||
|
||||
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user