Bitcoin Forum
May 07, 2024, 07:37:34 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Cannot import a private key  (Read 805 times)
ehmdjii (OP)
Sr. Member
****
Offline Offline

Activity: 351
Merit: 250


View Profile
June 02, 2013, 01:49:14 PM
 #1

hello,
i am trying to move an address from one wallet to another.

so on the first one i did a
Code:
dumpprivkey address 
to get the key


and then in the other wallet i type:
Code:
importprivkey (thekeyishere)

but it gives this error:
Code:
Error adding key to wallet (code -4)

what can i do about it?

BTC: 1LsD5HpnX1Kfyti7CnHiVB1rjUEXGqmR2H
LTC: LQbpdMZmYyJa9bJG6NweBNxkSTfgZorkrG
The forum was founded in 2009 by Satoshi and Sirius. It replaced a SourceForge forum.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
orz.dk
Newbie
*
Offline Offline

Activity: 30
Merit: 0



View Profile WWW
June 02, 2013, 02:25:55 PM
 #2

Destination wallet locked ?
jaywaka2713
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250


aka 7Strykes


View Profile
June 03, 2013, 04:16:48 PM
 #3

I've done the same thing with neither wallet encrypted or anything. I get -4 error. I've even generated keys with vanitygen but it doesn't accept. Blockchain.info takes them though.

escrow.ms
Legendary
*
Offline Offline

Activity: 1274
Merit: 1004


View Profile
June 03, 2013, 04:21:03 PM
 #4

Are you using new client?


If it doesn't works,try to use  https://blockchain.info/wallet/import-wallet and then send payment to your new wallet.
jaywaka2713
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250


aka 7Strykes


View Profile
June 03, 2013, 04:22:18 PM
 #5

Are you using new client?


If it doesn't works,try to use  https://blockchain.info/wallet/import-wallet and then send payment to your new wallet.


That won't work because he wants to keep his address. Just needs it moved.

dhenson
Legendary
*
Offline Offline

Activity: 994
Merit: 1000



View Profile
June 03, 2013, 11:13:33 PM
 #6

It sounds to me like the OP has his wallet encrypted.

First type:
walletpassphrase <your password> 600

The above will unlock your wallet for 10 minutes.  You can then try your importprivkey.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!