From b627ac1ca605b0c071175609a4dbabc84fddfa86 Mon Sep 17 00:00:00 2001 From: ardocrat Date: Fri, 20 Sep 2024 23:30:41 +0300 Subject: [PATCH] fix: mnemonic import --- src/wallet/mnemonic.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wallet/mnemonic.rs b/src/wallet/mnemonic.rs index e678cf5..914e849 100644 --- a/src/wallet/mnemonic.rs +++ b/src/wallet/mnemonic.rs @@ -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;