PKGenerator_Checker
PKGenerator_Checker copied to clipboard
Correct Public key
For correct address change code from PkMaker.py 87 line:
publicKey = "\04" + str(vk.to_string())
ripemd160 = hashlib.new('ripemd160')
ripemd160.update(hashlib.sha256(codecs.encode(publicKey)).digest())
to:
publicKey = "04" + vk.to_string().hex()
ripemd160 = hashlib.new('ripemd160')
ripemd160.update(hashlib.sha256(bytes.fromhex(publicKey)).digest())