pay: A cleanup for the comment about wait_payment()

json_waitsendpay_on_resolve() has been replaced by wait_payment(), so correct it here.
This commit is contained in:
trueptolemy
2019-06-25 16:54:27 +08:00
committed by Rusty Russell
parent 619362ae19
commit f715e3ad84

View File

@@ -531,7 +531,7 @@ void payment_failed(struct lightningd *ld, const struct htlc_out *hout,
pay_errcode, hout->failuremsg, fail, failmsg);
}
/* Wait for a payment. If cmd is deleted, then json_waitsendpay_on_resolve
/* Wait for a payment. If cmd is deleted, then wait_payment()
* no longer be called.
* Return callback if we called already, otherwise NULL. */
static struct command_result *wait_payment(struct lightningd *ld,