From 71c753810c273c8c02511df3564d608090996982 Mon Sep 17 00:00:00 2001 From: ekzyis Date: Thu, 20 Jun 2024 20:20:32 +0200 Subject: [PATCH] Don't pass logger to sendPayment --- components/wallet/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/wallet/index.js b/components/wallet/index.js index c713a99e..2af01989 100644 --- a/components/wallet/index.js +++ b/components/wallet/index.js @@ -29,7 +29,7 @@ export function useWallet (name) { const hash = bolt11Tags(bolt11).payment_hash logger.info('sending payment:', `payment_hash=${hash}`) try { - const { preimage } = await wallet.sendPayment({ bolt11, config, logger }) + const { preimage } = await wallet.sendPayment({ bolt11, config }) logger.ok('payment successful:', `payment_hash=${hash}`, `preimage=${preimage}`) } catch (err) { const message = err.message || err.toString?.()