Bitcoin Forum
May 11, 2024, 07:45:12 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: importprivkey is broken  (Read 1058 times)
LZ (OP)
Legendary
*
Offline Offline

Activity: 1722
Merit: 1072


P2P Cryptocurrency


View Profile
June 14, 2015, 06:40:45 PM
Last edit: June 15, 2015, 01:10:15 AM by LZ
 #1

Electrum 2.2 and below:
Code:
>> importprivkey('5KdQmGoY4m2HK1WBLyRJ64hftfciGVtcDYvFD3ZrMVoyQGM1CBF')
[
    "Keypair imported: ",
    "1LZqQu8NBB7og3J2msoguAFK5pza4RMedi"
]
>> importprivkey('KzTrstZavueRFvCS7MT9QXLGCLP9KrT3J4pmKJfaYukS6AvsWhWN')
[
    "Keypair imported: ",
    "1LZraDqavRX2UtsrcVG5s62b8w58ZckoxM"
]

Electrum 2.3 and above:
Code:
>> importprivkey('5KdQmGoY4m2HK1WBLyRJ64hftfciGVtcDYvFD3ZrMVoyQGM1CBF')
"Error: Keypair import failed: "
>> importprivkey('KzTrstZavueRFvCS7MT9QXLGCLP9KrT3J4pmKJfaYukS6AvsWhWN')
"Error: Keypair import failed: "

But if I restore the wallet using my private keys, importprivkey() works without problems.
It does not work only in the seed mode. Behavior of Electrum 2.2 seems more suitable. Undecided

My OpenPGP fingerprint: 5099EB8C0F2E68C63B4ECBB9A9D0993E04143362
"Bitcoin: mining our own business since 2009" -- Pieter Wuille
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715413512
Hero Member
*
Offline Offline

Posts: 1715413512

View Profile Personal Message (Offline)

Ignore
1715413512
Reply with quote  #2

1715413512
Report to moderator
1715413512
Hero Member
*
Offline Offline

Posts: 1715413512

View Profile Personal Message (Offline)

Ignore
1715413512
Reply with quote  #2

1715413512
Report to moderator
1715413512
Hero Member
*
Offline Offline

Posts: 1715413512

View Profile Personal Message (Offline)

Ignore
1715413512
Reply with quote  #2

1715413512
Report to moderator
Gibbs187x
Full Member
***
Offline Offline

Activity: 126
Merit: 100

Moon


View Profile
June 15, 2015, 01:53:49 AM
 #2

hmm have not happend to me have you fixed it?

LZ (OP)
Legendary
*
Offline Offline

Activity: 1722
Merit: 1072


P2P Cryptocurrency


View Profile
June 15, 2015, 10:30:36 AM
Last edit: June 16, 2015, 10:54:26 AM by LZ
 #3

That's right. But I have not upgraded Electrum from 1.x to 2.x on this system. It's a clean installation.
I just want to say that Electrum 2.0-2.2 is able to import my private keys to the standard-type wallet
and Electrum 2.3-2.3.2 is not able to do so. I have to use 2.2 or switch between different wallets. Undecided


ThomasV said that it's designed to work this way.
https://github.com/spesmilo/electrum/issues/1298

My OpenPGP fingerprint: 5099EB8C0F2E68C63B4ECBB9A9D0993E04143362
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!