From ab1104e115125abd56edc82eae37c87debb729ce Mon Sep 17 00:00:00 2001 From: ekzyis Date: Fri, 18 Oct 2024 14:19:40 +0200 Subject: [PATCH] Fix lnaddr withdrawals --- api/lnd/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/lnd/index.js b/api/lnd/index.js index 94264daf..3e49ce74 100644 --- a/api/lnd/index.js +++ b/api/lnd/index.js @@ -131,7 +131,7 @@ export const getBlockHeight = cachedFetcher(async function fetchBlockHeight ({ l export const getOurPubkey = cachedFetcher(async function fetchOurPubkey ({ lnd, ...args }) { try { - const { identity } = await getIdentity({ lnd, ...args }) + const identity = await getIdentity({ lnd, ...args }) return identity.public_key } catch (err) { throw new Error(`Unable to fetch identity: ${err.message}`)