Skip to content

fix: route lightning address payments to the user's default wallet#357

Merged
islandbitcoin merged 1 commit into
lnflash:mainfrom
heyolaniran:feature/external-wallet-lnurl
May 18, 2026
Merged

fix: route lightning address payments to the user's default wallet#357
islandbitcoin merged 1 commit into
lnflash:mainfrom
heyolaniran:feature/external-wallet-lnurl

Conversation

@heyolaniran
Copy link
Copy Markdown
Contributor

listByAccountId returns wallets in undefined order, causing wallet[0] to resolve to a random wallet's lnurlp. Use the account's defaultWalletId to honour whichever wallet the user has designated as default, whether that is the BTC, USD, or external wallet.

listByAccountId returns wallets in undefined order, causing wallet[0]
to resolve to a random wallet's lnurlp. Use the account's defaultWalletId
to honour whichever wallet the user has designated as default, whether
that is the BTC, USD, or external wallet.
@heyolaniran heyolaniran force-pushed the feature/external-wallet-lnurl branch from 6e7fe9f to 720c275 Compare May 18, 2026 17:53
Copy link
Copy Markdown
Collaborator

@bobodread876 bobodread876 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK

@bobodread876 bobodread876 requested a review from brh28 May 18, 2026 18:10
@islandbitcoin islandbitcoin merged commit cc82af8 into lnflash:main May 18, 2026
islandbitcoin added a commit that referenced this pull request May 21, 2026
* fix: resolve breaking changes to BankAccount

* fix: route lightning address payments to the user's default wallet (#357)

---------

Co-authored-by: Benjamin Hindman <bhindman@proton.me>
Co-authored-by: Olaniran ⚡ <93789719+heyolaniran@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants