mirror of
https://gitlab.com/pulsechaincom/staking-deposit-cli.git
synced 2025-01-10 21:11:21 +00:00
Fix indentation error
This commit is contained in:
parent
3891cbada5
commit
52b36bcdff
@ -102,7 +102,7 @@ def _get_checksum(entropy: bytes) -> int:
|
||||
entropy_length = len(entropy) * 8
|
||||
assert entropy_length in range(128, 257, 32)
|
||||
checksum_length = (entropy_length // 32)
|
||||
return int.from_bytes(SHA256(entropy), 'big') >> (256 - checksum_length)
|
||||
return int.from_bytes(SHA256(entropy), 'big') >> (256 - checksum_length)
|
||||
|
||||
|
||||
def verify_mnemonic(mnemonic: str, words_path: str) -> bool:
|
||||
|
Loading…
Reference in New Issue
Block a user