getAlby / lightning-browser-extension

The Bitcoin Lightning Browser Extension that brings deep Lightning & Nostr integration to the web. Wallet interface to multiple lightning nodes and key signer for Nostr, Liquid and onchain use.
https://getalby.com/#extension
MIT License
539 stars 194 forks source link

fix: account connection check #3098

Closed bumi closed 8 months ago

bumi commented 8 months ago

Describe the changes you have made in this PR

so far we have checked if an account has an alias. but this is not very reliable. This change now checks if we can get the balance from the account. if so the connection works

Type of change

(Remove other not matching type)

How has this been tested?

manually, adding a NWC connection

Checklist