mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-03 12:30:07 +00:00
asdadasda
This commit is contained in:
parent
3729176023
commit
2fe3ddf1c5
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue