Skip to content

Commit

Permalink
Merge pull request #431 from hidewrong/master
Browse files Browse the repository at this point in the history
chore: fix some typos in comment
  • Loading branch information
mccwdev authored Jan 14, 2025
2 parents 8093de8 + 27ad904 commit 3527ac0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/mnemonic.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
entsize = 128
words = Mnemonic('english').generate(entsize)
print("Your Mnemonic is %s" % words)
print(" (An avarage of %d tries is needed to brute-force this password)" % ((2 ** entsize) // 2))
print(" (An average of %d tries is needed to brute-force this password)" % ((2 ** entsize) // 2))
seed = Mnemonic().to_seed(words)
hdk = HDKey.from_seed(seed)
print("Seed for HD Key %s" % to_hexstring(seed))
Expand Down
2 changes: 1 addition & 1 deletion examples/transactions_decompose_simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
rt += '20' # DER encoded Signature - Length of X:
rt += '1f6e18f4532e14f328bc820cb78c53c57c91b1da9949fecb8cf42318b791fb38'
rt += '02' # DER encoded Signature - Integer
rt += '20' # DER encoded Signature - Lenght of Y:
rt += '20' # DER encoded Signature - Length of Y:
rt += '45e78c9e55df1cf3db74bfd52ff2add2b59ba63e068680f0023e6a80ac9f51f4'
rt += '01' # SIGHASH_ALL
# - INPUT: PUBLIC KEY -
Expand Down
2 changes: 1 addition & 1 deletion examples/wallets_segwit_testnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# © 2018-2023 May - 1200 Web Development <http://1200wd.com/>
#
#
# Create 4 different Segregated Witness wallets of which 2 Native segwit wallets and 2 wallets with P2SH embeded
# Create 4 different Segregated Witness wallets of which 2 Native segwit wallets and 2 wallets with P2SH embedded
# segwit scripts so every wallet can send payments to them.
#
# These four wallet types will be created:
Expand Down

0 comments on commit 3527ac0

Please sign in to comment.