Skip to content

Conversation

@pezcore
Copy link
Contributor

@pezcore pezcore commented Oct 26, 2022

Support for additional word counts (specifically 15 and 21) was added in #18, but the documentation and the Display impl for Error::BadWordCount was not updated to reflect this. This PR updates these to reflect the recent support for 15- and 21-word mnemonics.

Copy link
Member

@tcharding tcharding left a comment

Choose a reason for hiding this comment

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

ACK 03dbb97

Copy link

@notmandatory notmandatory left a comment

Choose a reason for hiding this comment

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

ACK 03dbb97

This Display description of the BadWordCount variant incorrectly
complained stated that the word count is not a multiple of 6. The
correct criteria for valid word counts is now that it must be a multiple
of 3 between 12 and 24 inclusive, so the Display impl is fixed to be
more precise.
@stevenroose
Copy link
Collaborator

ACK

@stevenroose stevenroose merged commit fed9a94 into rust-bitcoin:master Feb 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants