Test wallet password if it was not tested
MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/ClosedWalletViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/ClosedWalletViewModel.cs
using AvalonStudio.Extensibility;
+using AvalonStudio.Shell;
using ReactiveUI;
using Splat;
using System;
@@ -8,6 +9,7 @@ using System.Reactive.Linq;
using System.Threading;
using System.Threading.Tasks;
using WalletWasabi.Gui.Helpers;
+using WalletWasabi.Gui.Tabs.WalletManager;
using WalletWasabi.Logging;
using WalletWasabi.Wallets;
@@ -24,8 +26,15 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
{
var global = Locator.Current.GetService<Global>();
+ if (wallet.KeyManager.PasswordVerified is true)
+ {
await Task.Run(async () => await global.WalletManager.StartWalletAsync(Wallet));
}
+ else
+ {
+ IoC.Get<IShell>().GetOrCreateByType<WalletManagerViewModel>().SelectTestPassword(wallet.WalletName);
+ }
+ }
catch (OperationCanceledException ex)
{
Logger.LogTrace(ex);

Test wallet password if it was not tested