New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[wasm/bug] Handle error when trying to open already opened database #1158
Comments
@sergeyboyko0791 Could you please take a look and fix this? |
I think it's related to this #1020 issue. The problem can be also related to hanging pointers: #985 @SirSevenG could you please check if you can log in after 30s-60s timeout? |
Tried the following: 2 wallets with different seeds. A and B. Case 1:
Case 2:
So 2+ minutes is not enough to prevent So you have to log out completely (and/or reload web page) to clear databses connections. |
cc @sergeyboyko0791 ☝️ |
I'll investigate this issue today, thanks for the testing @SirSevenG |
Small update: #1162 fixes only one of the issues listed above. Database error still persists in general. |
@SirSevenG @sergeyboyko0791 What is the current status of this issue? |
Should be fixed by #1490 |
Will close this due to #1158 (comment) Feel free to re-open if the problem still exists. |
Case: in mobile/desktop/web application user can have multiple wallets with the exact same seed be it intentionally or by mistake.
While libmm2 handles it well. wasm module has issues with it. Trying to switch between different wallets with same seed phrase in web app leads to error
Internal error: Database 'MAIN::hash::swap' is open already
.To reproduce you may use build from PR 154 (air_dex) and later dev, when merged. I will notify in comments.
Steps to reproduce:
The text was updated successfully, but these errors were encountered: