mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 07:04:22 +01:00
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:
committed by
Rusty Russell
parent
619362ae19
commit
f715e3ad84
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user