help - add preimage to param list

This commit is contained in:
Felix
2018-05-08 16:08:43 +03:00
committed by Rusty Russell
parent 783327622f
commit 80b298a15f

View File

@@ -359,7 +359,7 @@ static void json_invoice(struct command *cmd,
static const struct json_command invoice_command = {
"invoice",
json_invoice,
"Create an invoice for {msatoshi} with {label} and {description} with optional {expiry} seconds (default 1 hour)"
"Create an invoice for {msatoshi} with {label} and {description} with optional {expiry} seconds (default 1 hour) and optional {preimage} (default autogenerated)"
};
AUTODATA(json_command, &invoice_command);