Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: miscreanity on April 03, 2012, 03:43:44 AM



Title: Wallet passphrase works in bitcoin-qt but not bitcoind
Post by: miscreanity on April 03, 2012, 03:43:44 AM
A wallet has been encrypted using the GUI client, bitcoin-qt. I've been having an issue where I can unlock the wallet using bitcoin-qt normally, but not at the command line with bitcoind.

Example:
Code:
bitcoind walletpassphrase mYpAS$w0Rd 60
error: {"code":-14,"message":"Error: The wallet passphrase entered was incorrect."}

The password has been entered using escape characters, but error -14 persists. Both versions have been compiled from the latest git.


Title: Re: Wallet passphrase works in bitcoin-qt but not bitcoind
Post by: miscreanity on April 10, 2012, 05:59:57 AM
Wallet version was 59900 - current version should be 60000.

With no Bitcoin software running, executing the following upgraded the wallet to version 60000.

Code:
bitcoind -upgradewallet

After that, changing the wallet password using bitcoin-qt then unlocking and resetting it using bitcoind successfully corrected the issue.