Skip to content

Commit

Permalink
Update ethstaker_deposit/key_handling/key_derivation/mnemonic.py
Browse files Browse the repository at this point in the history
Co-authored-by: valefar-on-discord <[email protected]>
  • Loading branch information
remyroy and valefar-on-discord authored Jun 12, 2024
1 parent 282e17a commit e581f6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ethstaker_deposit/key_handling/key_derivation/mnemonic.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def reconstruct_mnemonic(mnemonic: str, words_path: str) -> Optional[str]:
It is needed to ensure abbrivated words aren't valid in multiple languages
"""
if reconstructed_mnemonic is not None:
raise ValidationError("This mnemonic abbrivated form is available in multiple languages.")
raise ValidationError("This mnemonic abbreviated form is available in multiple languages.")
reconstructed_mnemonic = ' '.join([_index_to_word(full_word_list, index) for index in word_indices])
else:
pass
Expand Down

0 comments on commit e581f6e

Please sign in to comment.