You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a new wallet, call it 1000000 leave all checkboxes as default.
In the console, swap to that wallet and issue keypoolrefill 1000000
Here a bug emerges, I had to close numerous popups that claimed the refill progress, but I could see in the debug.log that the refill was already done.
Exit the app.
Start the app and switch to the wallet named 1000000
Select encrypt and choose password of 1234
This appears to hang, after a few seconds click anywhere on the window and the assert appears.
Pretty sure this happens because all keys are encrypted in a single Transaction (and we do this because if something fails we don't end up with half keys encrypted on db and half keys still unencrypted or still not saved on db).
In this case there are too many keys in a single transaction, which gets too big and at some point we fail to write in the WalletBatch.
Steps to reproduce
Stack trace
The text was updated successfully, but these errors were encountered: