Start connecting to Bitcoin nodes
MODIFY
WalletWasabi.Gui/Global.cs
WalletWasabi.Gui/Global.cs
@@ -35,7 +35,7 @@ namespace WalletWasabi.Gui
public static Config Config { get; private set; }
- public async static Task InitializeAsync(Config config)
+ public static void Initialize(Config config)
{
Config = Guard.NotNull(nameof(config), config);
Network network = Config.Network;
@@ -73,6 +73,9 @@ namespace WalletWasabi.Gui
RequiredServices = NodeServices.Network,
MinVersion = Constants.ProtocolVersion_WITNESS_VERSION
});
+
+ Nodes.Connect();
+ Logger.LogInfo("Start connecting to nodes...");
}
public async static Task DisposeAsync()

MODIFY
WalletWasabi.Gui/Program.cs
WalletWasabi.Gui/Program.cs
@@ -34,7 +34,7 @@ namespace WalletWasabi.Gui
await config.LoadOrCreateDefaultFileAsync();
Logger.LogInfo<Config>("Config is successfully initialized.");
- await Global.InitializeAsync(config);
+ Global.Initialize(config);
}).StartShellApp("Wasabi Wallet", new DefaultLayoutFactory());
}
catch (Exception ex)

Start connecting to Bitcoin nodes