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
I have 2 test wallets, both encrypted, with different passwords. Whichever one I import first works, but the other one doesn't:
$ clamd importwallet ~/.bitcoin/wallet.dat.tmp.password.fred 'fred' false
$ clamd importwallet ~/.bitcoin/wallet.dat.tmp.password.fred.fred 'fred fred' false
error: {"code":-14,"message":"Error: The wallet passphrase entered was incorrect for the wallet you are attempting to import."}
$ clamd stop
Clam server stopping
$ clamd
Clam server starting
$ clamd importwallet ~/.bitcoin/wallet.dat.tmp.password.fred.fred 'fred fred' false
$ clamd importwallet ~/.bitcoin/wallet.dat.tmp.password.fred 'fred' false
error: {"code":-14,"message":"Error: The wallet passphrase entered was incorrect for the wallet you are attempting to import."}
I restarted the daemon and it changed its mind about which one had the "incorrect passphrase"...
The text was updated successfully, but these errors were encountered:
I've been attempting to find the cause of this bug, but didn't make much progress yet.
ReadKeyValueImport() In walletdb.cpp is running this line:
pwallet->mapMasterKeys[nID] = kMasterKey;
for each wallet I import, but the kMasterKey always has the same value for the nDeriveIterations member; the value is the nDeriveIterations for whichever wallet I import first.
I have 2 test wallets, both encrypted, with different passwords. Whichever one I import first works, but the other one doesn't:
I restarted the daemon and it changed its mind about which one had the "incorrect passphrase"...
The text was updated successfully, but these errors were encountered: