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.
|
// Setup phrase size.
|
||||||
let confirm = self.mode == PhraseMode::Generate;
|
let confirm = self.mode == PhraseMode::Generate;
|
||||||
if !confirm {
|
if !confirm {
|
||||||
|
self.words = Self::empty_words(&size);
|
||||||
self.size = size;
|
self.size = size;
|
||||||
} else if self.size != size {
|
} else if self.size != size {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue