Skip to content

Commit

Permalink
Merge pull request #1483 from stackernews/fix-lnaddr-withdrawals
Browse files Browse the repository at this point in the history
Fix lnaddr withdrawals
  • Loading branch information
huumn authored Oct 18, 2024
2 parents aba212f + ab1104e commit 6b1f671
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/lnd/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`)
Expand Down

0 comments on commit 6b1f671

Please sign in to comment.