5
3
I'm unable to create a segwit address in Bitcoin Core 15.0.1 64-bit Windows I have tried multiple times but keep getting the same error. The following is the output from the console
$ getnewaddress
1KxN5zBSMqCiMfaXpbgpbDipo3fdrWmWnF
$ addwitnessaddress 1KxN5zBSMqCiMfaXpbgpbDipo3fdrWmWnF
Public key or redeemscript not known to wallet, or the key is uncompressed (code -4)
I have also tried changing my encryption password but it did not help. I do not want to create a whole new wallet. What else can I do? Thanks
Can you post the output of the
getwalletinfocommand? The address likely corresponds to an uncompressed public key so it cannot be witnessified. – Andrew Chow – 2017-10-21T00:19:10.590