This commit is contained in:
boufni95 2023-10-23 19:41:51 +02:00
parent 339fc9c141
commit 66945d1339

View file

@ -191,6 +191,7 @@ export default class {
await this.Health() await this.Health()
const abortController = new AbortController() const abortController = new AbortController()
const req = PayInvoiceReq(invoice, amount, feeLimit) const req = PayInvoiceReq(invoice, amount, feeLimit)
this.log("sending payment:", req)
const stream = this.router.sendPaymentV2(req, { abort: abortController.signal }) const stream = this.router.sendPaymentV2(req, { abort: abortController.signal })
return new Promise((res, rej) => { return new Promise((res, rej) => {
stream.responses.onError(error => { stream.responses.onError(error => {