Author

Topic: importprivkey is broken (Read 1058 times)

LZ
legendary
Activity: 1722
Merit: 1072
P2P Cryptocurrency
June 15, 2015, 06:30:36 AM
#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
full member
Activity: 126
Merit: 100
Moon
June 14, 2015, 09:53:49 PM
#2
hmm have not happend to me have you fixed it?
LZ
legendary
Activity: 1722
Merit: 1072
P2P Cryptocurrency
June 14, 2015, 02:40:45 PM
#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
Jump to: