Post
Topic
Board Announcements (Altcoins)
Re: [ANN] [POW] [MSR] Masari - private, untraceable, and fungible cryptocurrency
by
thaer
on 01/05/2018, 07:01:54 UTC
I had the problem that the v0.2.0.2 masari-wallet-cli would simply not recognize the wallet files from v0.1.4.0 as if there is no backward compatibility.
You input the wallet password and get some error: "Error: failed to load wallet: std::bad_alloc"

So I used --restore-deterministic-wallet and entered the seed from the old wallet, but... attention... it will then ask you for something like a seed encryption pasphrase. If you enter one, it will generate a completely new seed with a new address, i.e. a new wallter, not your old wallet. I don't remember if this seed encryption passphrase was there in previous versions, well at least I didn't use it. So I had to restore again, this time leaving that seed encryption passphrase blank and so it finally restored my old address, i.e. exactly my old wallet.

That's on Ubuntu 16.04 LTS. Not tried the Windows or MacOS version.


If you rename your keys file (i.e. wallet-name.keys), it will solve the problem. This is because you have to clear your wallet cache (which would be wallet-name, no extension). A rename of the keys file instead of deleting the cache is the safest option (in case you accidentally delete your private key)