mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-18 14:44:22 +01:00
offers: enable label for invoicerequest
This commit is contained in:
@@ -20,6 +20,10 @@
|
||||
"type": "string",
|
||||
"description": ""
|
||||
},
|
||||
"label": {
|
||||
"type": "string",
|
||||
"description": ""
|
||||
},
|
||||
"absolute_expiry": {
|
||||
"type": "u64",
|
||||
"description": ""
|
||||
|
||||
@@ -467,7 +467,7 @@ struct command_result *json_invoicerequest(struct command *cmd,
|
||||
json_add_bool(req->js, "exposeid", true);
|
||||
json_add_bool(req->js, "single_use", *single_use);
|
||||
if (label)
|
||||
json_add_string(req->js, "label", label);
|
||||
json_add_string(req->js, "recurrence_label", label);
|
||||
return send_outreq(cmd->plugin, req);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user