up
This commit is contained in:
parent
66945d1339
commit
d9cdff1509
1 changed files with 1 additions and 1 deletions
|
|
@ -191,7 +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)
|
this.log("sending payment:", JSON.stringify(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 => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue