mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-08 19:49:45 +00:00
ssadsadasdasdasdasdasdasda
This commit is contained in:
parent
6378854bf0
commit
3729176023
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:
|
def pow_hash_header(header: dict) -> str:
|
||||||
if header is None:
|
if header is None:
|
||||||
return '0' * 64
|
return '0' * 64
|
||||||
return hash_encode(PoWHash(bfh(serialize_header(header))))
|
return hash_encode(PoWHash(bfh(header)))
|
||||||
|
|
||||||
def sha256(x):
|
def sha256(x):
|
||||||
return hashlib.sha256(x).digest()
|
return hashlib.sha256(x).digest()
|
||||||
|
|
Loading…
Add table
Reference in a new issue