Skip to content
This repository was archived by the owner on Oct 6, 2025. It is now read-only.

Actually shortens words for abbrviated mnemonic test vectors#254

Merged
hwwhww merged 1 commit intodevfrom
fix_abbreviated_test
Mar 29, 2022
Merged

Actually shortens words for abbrviated mnemonic test vectors#254
hwwhww merged 1 commit intodevfrom
fix_abbreviated_test

Conversation

@CarlBeek
Copy link
Copy Markdown
Collaborator

In #242, I didn't correctly implement a test for shortened versions of mnemonics.

In particular, abbreviate_mnemonic() in test_mnemonic.py didn't actually return the 4-letter variants of words, it just normalized the mnemonic and returned it. This PR addresses that.

@CarlBeek CarlBeek added bug Something isn't working testing labels Mar 29, 2022
@CarlBeek CarlBeek requested a review from hwwhww March 29, 2022 13:07
Copy link
Copy Markdown
Contributor

@hwwhww hwwhww left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@hwwhww hwwhww merged commit fce407c into dev Mar 29, 2022
@hwwhww hwwhww deleted the fix_abbreviated_test branch March 29, 2022 13:18
@CarlBeek CarlBeek mentioned this pull request Mar 29, 2022
sangheraio pushed a commit to earthwallet/earth-wallet-cli that referenced this pull request Aug 3, 2023
Actually shortens words for abbrviated mnemonic test vectors
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug Something isn't working testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants