Browse Source

lightningd: fix wrong command in response message

listpayments was removed in 077ba88b. Suggest listpays instead.

Changelog-None
travis-debug
Vasil Dimov 5 years ago
committed by ZmnSCPxj, ZmnSCPxj jxPCSmnZ
parent
commit
46f6c6b96e
  1. 2
      lightningd/pay.c

2
lightningd/pay.c

@ -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);
}

Loading…
Cancel
Save