Author

Topic: Error adding key to wallet (Read 4482 times)

newbie
Activity: 37
Merit: 0
July 05, 2012, 02:58:14 AM
#3
Do you perhaps have an encrypted wallet file?
If so then my you need to run: bitcoind walletpassphrase YourWalletPassword 2000
legendary
Activity: 1372
Merit: 1008
1davout
June 17, 2012, 04:29:46 PM
#2
When I get that it usually means that the key is already present in the wallet.
Try removeprivkey and then reimport.
newbie
Activity: 4
Merit: 0
June 17, 2012, 03:23:34 PM
#1
Hi

I'm running bitcoin-qt version 0.6.2 on windows 7.  I'm testing the JSON API.  On testnet everything worked as expected, but now - on prodnet - I can't get importprivkey to work.  It returns the error message: "Error adding key to wallet" for the private key: 5KBn7DJRBdzdkGEo78n5M8gULKes9FTiWYjr3Ssf3QdAZP7ACGe (Newly generated, not in bitcoin-qt)

The key should be valid.  I use walletpassphrase first to unlock the wallet.  What am I doing wrong?






Jump to: