asdadasda

This commit is contained in:
Thomas Zarebczan 2018-11-16 18:33:51 -05:00
parent 3729176023
commit 2fe3ddf1c5

View file

@ -83,7 +83,7 @@ def hash_header(header: dict) -> str:
def pow_hash_header(header: dict) -> str:
if header is None:
return '0' * 64
return hash_encode(PoWHash(bfh(header)))
return hash_encode(PoWHash(bfh(header['hex'])))
def sha256(x):
return hashlib.sha256(x).digest()