fix: mnemonic import
This commit is contained in:
parent
ac0b218376
commit
b627ac1ca6
1 changed files with 1 additions and 0 deletions
|
@ -195,6 +195,7 @@ impl Mnemonic {
|
|||
// Setup phrase size.
|
||||
let confirm = self.mode == PhraseMode::Generate;
|
||||
if !confirm {
|
||||
self.words = Self::empty_words(&size);
|
||||
self.size = size;
|
||||
} else if self.size != size {
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue