Centos electrum public-key import

by Bonfop   Last Updated June 12, 2019 20:27 PM

I have several bitcoin addresses (together with corresponding public keys) from Electrum wallet I've used previously. I moved to another CentOS server and now I need to import this addresses back. But when I do:

electrum sweep [public key] [btc address] -w [path to wallet]

I get:

Traceback (most recent call last):
File "/usr/local/bin/electrum", line 384, in <module>
result = server.run_cmdline(config_options)
File "/usr/local/lib/python3.7/site-packages/jsonrpclib/jsonrpc.py", line 748, in __call__
return self.__send(self.__name, args)
File "/usr/local/lib/python3.7/site-packages/jsonrpclib/jsonrpc.py", line 630, in _request
check_for_errors(response)
File "/usr/local/lib/python3.7/site-packages/jsonrpclib/jsonrpc.py", line 1321, in check_for_errors
raise ProtocolError((code, message))
jsonrpclib.jsonrpc.ProtocolError: (-32603, 'Server error: File "/usr/local/lib/python3.7/site-packages/electrum/bitcoin.py", line 475, in deserialize_privkey | electrum.util.BitcoinException: cannot deserialize privkey 024..c0\n') 

What am I doing wrong?



Related Questions


Updated March 24, 2018 13:27 PM

Updated July 19, 2017 19:27 PM

Updated November 03, 2017 16:27 PM

Updated November 26, 2017 15:27 PM

Updated December 13, 2017 15:27 PM