From 81f7fe7c0d739c63d5371cde7a5cb57ddfd8c1c2 Mon Sep 17 00:00:00 2001 From: boufni95 Date: Wed, 20 Dec 2023 18:44:47 +0100 Subject: [PATCH] fix --- src/services/main/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/main/index.ts b/src/services/main/index.ts index 75621027..71d81d8c 100644 --- a/src/services/main/index.ts +++ b/src/services/main/index.ts @@ -59,7 +59,7 @@ export default class { this.settings = settings this.storage = storage this.metricsManager = new MetricsManager(this.storage) - this.lnd = NewLightningHandler(settings.lndSettings, this.addressPaidCb, this.invoicePaidCb, this.newBlockCb, this.metricsManager.HtlcCb) + this.lnd = NewLightningHandler(settings.lndSettings, this.addressPaidCb, this.invoicePaidCb, this.newBlockCb, e => this.metricsManager.HtlcCb) this.paymentManager = new PaymentManager(this.storage, this.lnd, this.settings, this.addressPaidCb, this.invoicePaidCb) this.productManager = new ProductManager(this.storage, this.paymentManager, this.settings)