Author

Topic: Invalid encoding error when importing private key in Bitcoin core (Read 591 times)

legendary
Activity: 2296
Merit: 1014
Your private key is incorrect in some way. That is what that message means. You are probably missing a character somewhere, maybe forgot to copy one at the end.
This one, or try including label so:
importprivkey yourPrivateKey "TheLabelThatYouWant"
staff
Activity: 3458
Merit: 6793
Just writing some code
Your private key is incorrect in some way. That is what that message means. You are probably missing a character somewhere, maybe forgot to copy one at the end.
tyz
legendary
Activity: 3360
Merit: 1533
I tried to import private keys using the debug console in Bitcoin core client. I use the following command

Quote
importprivkey 5K... MyNewAddress

and I get the following error message

Quote
Invalid private key encoding (code -5)

Any idea what is wrong? A google search did not give me a hint.
Jump to: