getAlby / lightning-browser-extension

The Bitcoin Lightning Browser extension that connects to different wallet interfaces and brings deep lightning integration to the web
https://getalby.com
MIT License
530 stars 193 forks source link

[FFox] Account config is not persisted #13

Closed chris-aeviator closed 3 years ago

chris-aeviator commented 3 years ago

After setting up an account I can see the account details & config displayed in the options window of the extension.

image

When trying to use the account to pay, webln reports err, provider No account available. When returning to the account options, the account config seems not to be persisted

image

{
  "currentKey": "e3c6b9ac4ccae3f063a4c4c1a9b464a8bb60413de200e60457b638c6e27834d0",
  "accounts": {}
}

The account config should be persisted.

bumi commented 3 years ago

I've removed options sync there and refactored the account/allowances storage: #14 can we test it with that change again.

chris-aeviator commented 3 years ago

fixed with https://github.com/bumi/lightning-browser-extension/pull/14