MutinyWallet / mutiny-web

The frontend for Mutiny Wallet
https://app.mutinywallet.com
MIT License
174 stars 49 forks source link

Immediately timestamp double init defense #1188

Closed benthecarman closed 2 weeks ago

benthecarman commented 2 weeks ago

Before we would not set the session storage double init defense until after the wallet was initialized. This changes it to when we verify it isn't set, this way we immediately "claim the lock" instead of waiting until the wallet is loaded. Also cleaned up the error message to be more informative.

Not sure if this will actually fix anything but found this while trying to find init error