From fc12f65a3d9733e9a6649f7aa557b155e1cb1e61 Mon Sep 17 00:00:00 2001 From: Rene Pickhardt Date: Tue, 25 Sep 2018 07:21:00 +0200 Subject: [PATCH] Invoiceapidoc patch Added the fallback address to the API documentation of the invoice command --- lightningd/invoice.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lightningd/invoice.c b/lightningd/invoice.c index 31d746b1b114..b82a801402dc 100644 --- a/lightningd/invoice.c +++ b/lightningd/invoice.c @@ -267,7 +267,8 @@ 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) and optional {preimage} " + "(default 1 hour), optional {fallbacks} address list" + "(default empty list) and optional {preimage} " "(default autogenerated)"}; AUTODATA(json_command, &invoice_command);