Make sure daemon password console works on Windows 7
MODIFY
WalletWasabi/Helpers/PasswordConsole.cs
WalletWasabi/Helpers/PasswordConsole.cs
@@ -10,6 +10,8 @@ namespace WalletWasabi.Helpers
/// Gets the console password.
/// </summary>
public static string ReadPassword()
+ {
+ try
{
var sb = new StringBuilder();
while (true)
@@ -38,5 +40,10 @@ namespace WalletWasabi.Helpers
return sb.ToString();
}
+ catch (InvalidOperationException)
+ {
+ return Console.ReadLine();
+ }
+ }
}
}

Make sure daemon password console works on Windows 7