From 52b36bcdff1e977a4da2c2eb8f6e540c4bc2bda7 Mon Sep 17 00:00:00 2001 From: Carl Beekhuizen Date: Mon, 26 Oct 2020 17:21:57 +0100 Subject: [PATCH] Fix indentation error --- eth2deposit/key_handling/key_derivation/mnemonic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eth2deposit/key_handling/key_derivation/mnemonic.py b/eth2deposit/key_handling/key_derivation/mnemonic.py index 0f1afd4..c0e8e81 100644 --- a/eth2deposit/key_handling/key_derivation/mnemonic.py +++ b/eth2deposit/key_handling/key_derivation/mnemonic.py @@ -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: