Global: Reformat a bit
MODIFY
WalletWasabi.Fluent/Global.cs
WalletWasabi.Fluent/Global.cs
@@ -244,9 +244,7 @@ public class Global
{
if (Config.StartLocalBitcoinCoreOnStartup)
{
- CoreNode coreNode = await CoreNode
- .CreateAsync(
- new CoreNodeParams(
+ CoreNodeParams coreNodeParams = new(
Network,
BitcoinStore.MempoolService,
Config.LocalBitcoinCoreDataDir,
@@ -260,9 +258,9 @@ public class Global
mempoolReplacement: "fee,optin",
userAgent: $"/WasabiClient:{Constants.ClientVersion}/",
fallbackFee: null, // ToDo: Maybe we should have it, not only for tests?
- Cache),
- cancel)
- .ConfigureAwait(false);
+ Cache);
+
+ CoreNode coreNode = await CoreNode.CreateAsync(coreNodeParams,cancel).ConfigureAwait(false);
RegisterLocalNodeDependentComponents(coreNode);
BitcoinCoreNode = coreNode;

Global: Reformat a bit