-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add word count in off device mnemonic hint #339
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #339 +/- ##
==========================================
+ Coverage 92.51% 92.54% +0.03%
==========================================
Files 1152 1152
Lines 25583 25587 +4
Branches 85 85
==========================================
+ Hits 23667 23680 +13
+ Misses 1901 1896 -5
+ Partials 15 11 -4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
pub struct OffDeviceMnemonicHint { | ||
/// A user-assigned name for the passphrase, intended to help users | ||
/// differentiate between multiple passphrases. | ||
pub label: DisplayName, | ||
|
||
/// The number of words the `OffDeviceMnemonic`, intended to help the host provide the correct |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/// The number of words the `OffDeviceMnemonic`, intended to help the host provide the correct | |
/// The number of words the `OffDeviceMnemonic` has, intended to help the host provide the correct |
@@ -8,4 +8,7 @@ pub struct OffDeviceMnemonicHint { | |||
/// A user-assigned name for the passphrase, intended to help users | |||
/// differentiate between multiple passphrases. | |||
pub label: DisplayName, | |||
/// The number of words the `OffDeviceMnemonic`, intended to help the host provide the correct |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/// The number of words the `OffDeviceMnemonic`, intended to help the host provide the correct | |
/// The number of words the `OffDeviceMnemonic` has, intended to help the host provide the correct |
[email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] Generated by cargo-workspaces
94ac0e7
to
c1ffa7f
Compare
Added the
word_count
. Decided to not call itmnemonic_word_count
as inDeviceFactorSourceHint
since the mnemonic is implied by the struct's name.Update:
Kotlinised some factor source samples.