[litecoin-project/litecoin] Can’t export private keys for segwit address in 0.16 (#500)

Hi,

I can’t export private keys for segwit addresses in my litecoin core 0.16 via “dumpprivkey” command.

When I execute “dumpprivkey” on a segiw address there should be private key output.

But instead I get “Address does not refer to a key (code -3)”
![image](https://user-images.githubusercontent.com/23485475/41363326-49434f70-6f3c-11e8-892b-21ef40a9228b.png)


I tried converting segwit address to legacy address via this tool https://litecoin-project.github.io/p2sh-convert/, still same error “Address does not refer to a key (code -3)”

I run litecoin core 0.16, downloaded from litecoin.org

I run windows 10 home on my laptop.


Any help would be awesome.

This post was last modified on June 13, 2018, 6:04 pm