validateaddress doesn't work on imported addresses
Validateaddress doesn't work on addresses of imported private keys. I want to see the public key behind my imported private key so I tried to use validateaddress but it wouldn't work:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/electrum_gui/gui_classic.py", line 1278, in
Could you explain what you are doing to create this error?
I tried replicating this by going to a imported key, right clicking it and pressing "private key". This however worked fine for my key.
I am running the validateaddress command in the electrum console so that I can see the public key of my imported private key. So:
validateaddress( '1importedprivatekeyaddrr' )
there is no easy way to fix this; the public key can only be derived from the private key (requiring the user's password) maybe in the future the wallet should store public keys instead of addresses; it would generally be more efficient
I fixed the traceback, but it won't display the public key.