mcdallas / cryptotools

MIT License
206 stars 80 forks source link

Why doesn't this work on Private Key WIF compressed ? #36

Closed demining closed 2 years ago

demining commented 2 years ago

I get an error. What am I doing wrong?

from cryptotools import PrivateKey

prv = PrivateKey.from_wif('KwLdv6T2jmhQbswnYrcL9KZHerTpVyjozp1JNjfP5QuD3GchCwCc')
prv.hex()
mcdallas commented 2 years ago

what’s the error?