Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo in comments: "of of" -> "of" #529

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions btcrecover/btcrpass.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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)
Expand Down