lightningd: fix wrong command in response message

listpayments was removed in 077ba88b. Suggest listpays instead.

Changelog-None
This commit is contained in:
Vasil Dimov 2020-01-07 14:31:47 +01:00 committed by ZmnSCPxj, ZmnSCPxj jxPCSmnZ
parent 9346043f94
commit 46f6c6b96e

View file

@ -235,7 +235,7 @@ json_sendpay_in_progress(struct command *cmd,
{
struct json_stream *response = json_stream_success(cmd);
json_add_string(response, "message",
"Monitor status with listpayments or waitsendpay");
"Monitor status with listpays or waitsendpay");
json_add_payment_fields(response, payment);
return command_success(cmd, response);
}