mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
help - add preimage to param list
This commit is contained in:
@@ -359,7 +359,7 @@ static void json_invoice(struct command *cmd,
|
|||||||
static const struct json_command invoice_command = {
|
static const struct json_command invoice_command = {
|
||||||
"invoice",
|
"invoice",
|
||||||
json_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);
|
AUTODATA(json_command, &invoice_command);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user