Skip to content

Commit 30da08a

Browse files
committed
comment correction
1 parent 6556aa5 commit 30da08a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/seedsigner/helpers/mnemonic_generation.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,8 @@ def generate_mnemonic_from_coin_flips(coin_flips: str, wordlist_language_code: s
132132

133133
def get_partial_final_word(coin_flips: str, wordlist_language_code: str = WORDLIST_LANGUAGE__ENGLISH) -> str:
134134
""" Look up the partial final word for the given coin flips.
135-
7 coin flips: 0101010 + 0000 where the final 4 bits will be replaced with the checksum
136-
3 coin flips: 0101 + 0000000 where the final 8 bits will be replaced with the checksum
135+
7 coin flips: 0101010 + **** where the final 4 bits will be replaced with the checksum
136+
3 coin flips: 010 + ******** where the final 8 bits will be replaced with the checksum
137137
"""
138138
binary_string = coin_flips + "0" * (11 - len(coin_flips))
139139
wordlist_index = int(binary_string, 2)

0 commit comments

Comments
 (0)