mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
lightningd: fix wrong command in response message
listpayments was removed in 077ba88b. Suggest listpays instead.
Changelog-None
This commit is contained in:
committed by
ZmnSCPxj, ZmnSCPxj jxPCSmnZ
parent
9346043f94
commit
46f6c6b96e
@@ -235,7 +235,7 @@ json_sendpay_in_progress(struct command *cmd,
|
|||||||
{
|
{
|
||||||
struct json_stream *response = json_stream_success(cmd);
|
struct json_stream *response = json_stream_success(cmd);
|
||||||
json_add_string(response, "message",
|
json_add_string(response, "message",
|
||||||
"Monitor status with listpayments or waitsendpay");
|
"Monitor status with listpays or waitsendpay");
|
||||||
json_add_payment_fields(response, payment);
|
json_add_payment_fields(response, payment);
|
||||||
return command_success(cmd, response);
|
return command_success(cmd, response);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user