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?.()