From 811a6cdaa3287b25974d9329cf0449bd0bfd7eeb Mon Sep 17 00:00:00 2001 From: suokunlong Date: Fri, 2 Aug 2024 12:12:47 +0800 Subject: [PATCH] Fix typo in comments: "of of" -> "of" --- btcrecover/btcrpass.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/btcrecover/btcrpass.py b/btcrecover/btcrpass.py index 51d7cb50..bc097fc0 100644 --- a/btcrecover/btcrpass.py +++ b/btcrecover/btcrpass.py @@ -1281,7 +1281,7 @@ def load_from_filename(cls, wallet_filename): if len(encrypted_data) < 32: raise ValueError("MultiBit HD wallet files must be at least 32 bytes long") - # The likelihood of of finding a valid encrypted MultiBit HD wallet whose first 16,384 + # The likelihood of finding a valid encrypted MultiBit HD wallet whose first 16,384 # bytes have less than 7.8 bits of entropy per byte is... too small for me to figure out entropy_bits = est_entropy_bits(encrypted_data) if entropy_bits < 7.8: @@ -1973,7 +1973,7 @@ def _parse_encrypted_blockchain_wallet(data): # looks random, otherwise this could be some other type of base64-encoded file such # as a MultiBit key file (it should be safe to skip this test for v2.0+ wallets) if not iter_count: # if this is a v0.0 wallet - # The likelihood of of finding a valid encrypted blockchain wallet (even at its minimum length + # The likelihood of finding a valid encrypted blockchain wallet (even at its minimum length # of about 500 bytes) with less than 7.4 bits of entropy per byte is less than 1 in 10^6 # (decreased test below to 7.2 after being shown a wallet with just under 7.4 entropy bits) entropy_bits = est_entropy_bits(data)