Fix mnemonic phrase length
Valid lengths are 12, 15, 18, 21 and 24.
MODIFY
WalletWasabi.Gui/Tabs/WalletManager/RecoverWallets/RecoverWalletViewModel.cs
WalletWasabi.Gui/Tabs/WalletManager/RecoverWallets/RecoverWalletViewModel.cs
@@ -45,7 +45,7 @@ namespace WalletWasabi.Gui.Tabs.WalletManager.RecoverWallets
.Merge(Observable.FromEventPattern(this, nameof(ErrorsChanged)).Select(_ => Unit.Default))
.Merge(this.WhenAnyValue(x => x.MnemonicWords).Select(_ => Unit.Default))
.ObserveOn(RxApp.MainThreadScheduler)
- .Select(_ => !Validations.AnyErrors && MnemonicWords.Split(' ', StringSplitOptions.RemoveEmptyEntries).Length == 12);
+ .Select(_ => !Validations.AnyErrors && MnemonicWords.Split(' ', StringSplitOptions.RemoveEmptyEntries).Length is 12 or 15 or 18 or 21 or 24 );
RecoverCommand = ReactiveCommand.Create(() => RecoverWallet(owner), canExecute);

Fix mnemonic phrase length

Valid lengths are 12, 15, 18, 21 and 24.