No need for extra function.
MODIFY
WalletWasabi.Gui/Tabs/WalletManager/GenerateWalletSuccessViewModel.cs
WalletWasabi.Gui/Tabs/WalletManager/GenerateWalletSuccessViewModel.cs
@@ -22,7 +22,8 @@ namespace WalletWasabi.Gui.Tabs.WalletManager
ConfirmCommand = ReactiveCommand.Create(() =>
{
- DoConfirmCommand(keyManager);
+ keyManager.ToFile();
+ NotificationHelpers.Success("Wallet is successfully generated!");
owner.SelectTestPassword();
});
@@ -31,13 +32,6 @@ namespace WalletWasabi.Gui.Tabs.WalletManager
.Subscribe(ex => Logger.LogError(ex));
}
- private void DoConfirmCommand(KeyManager keyManager)
- {
- keyManager.ToFile();
-
- NotificationHelpers.Success("Wallet is successfully generated!");
- }
-
public string MnemonicWords
{
get => _mnemonicWords;

No need for extra function.