Fix lnaddr withdrawals

This commit is contained in:
ekzyis 2024-10-18 14:19:40 +02:00
parent aba212f6ec
commit ab1104e115
1 changed files with 1 additions and 1 deletions

View File

@ -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}`)