mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
JSON: remove listpayments.
You either want listpays (high level) or listsendpays. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
884f4fa6d0
commit
077ba88b88
@@ -25,6 +25,7 @@ changes.
|
|||||||
- JSON API: `short_channel_id` parameters in JSON commands with `:` separators (deprecated since 0.7.0).
|
- JSON API: `short_channel_id` parameters in JSON commands with `:` separators (deprecated since 0.7.0).
|
||||||
- JSON API: `description` parameters in `pay` and `sendpay` (deprecated since 0.7.0).
|
- JSON API: `description` parameters in `pay` and `sendpay` (deprecated since 0.7.0).
|
||||||
- JSON API: `description` output field in `waitsendpay` and `sendpay` (deprecated since 0.7.0).
|
- JSON API: `description` output field in `waitsendpay` and `sendpay` (deprecated since 0.7.0).
|
||||||
|
- JSON API: `listpayments` (deprecated since 0.7.0).
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
|||||||
@@ -969,15 +969,6 @@ static struct command_result *json_listsendpays(struct command *cmd,
|
|||||||
return command_success(cmd, response);
|
return command_success(cmd, response);
|
||||||
}
|
}
|
||||||
|
|
||||||
static const struct json_command listpayments_command = {
|
|
||||||
"listpayments",
|
|
||||||
"payment",
|
|
||||||
json_listsendpays,
|
|
||||||
"Show outgoing payments",
|
|
||||||
true /* deprecated, use new name */
|
|
||||||
};
|
|
||||||
AUTODATA(json_command, &listpayments_command);
|
|
||||||
|
|
||||||
static const struct json_command listsendpays_command = {
|
static const struct json_command listsendpays_command = {
|
||||||
"listsendpays",
|
"listsendpays",
|
||||||
"payment",
|
"payment",
|
||||||
|
|||||||
Reference in New Issue
Block a user