WalletManager: Remove Nodes too.
MODIFY
WalletWasabi/Wallets/WalletManager.cs
WalletWasabi/Wallets/WalletManager.cs
@@ -66,7 +66,6 @@ namespace WalletWasabi.Wallets
private BitcoinStore BitcoinStore { get; set; }
private WasabiSynchronizer Synchronizer { get; set; }
- private NodesGroup Nodes { get; set; }
private ServiceConfiguration ServiceConfiguration { get; set; }
private bool IsInitialized { get; set; }
@@ -156,7 +155,7 @@ namespace WalletWasabi.Wallets
if (wallet.State == WalletState.WaitingForInit)
{
- wallet.RegisterServices(BitcoinStore, Synchronizer, Nodes, ServiceConfiguration, FeeProvider, BlockProvider);
+ wallet.RegisterServices(BitcoinStore, Synchronizer, ServiceConfiguration, FeeProvider, BlockProvider);
}
using (await StartStopWalletLock.LockAsync(CancelAllInitialization.Token).ConfigureAwait(false))
@@ -397,18 +396,17 @@ namespace WalletWasabi.Wallets
}
}
- public void RegisterServices(BitcoinStore bitcoinStore, WasabiSynchronizer synchronizer, NodesGroup nodes, ServiceConfiguration serviceConfiguration, IFeeProvider feeProvider, IBlockProvider blockProvider)
+ public void RegisterServices(BitcoinStore bitcoinStore, WasabiSynchronizer synchronizer, ServiceConfiguration serviceConfiguration, IFeeProvider feeProvider, IBlockProvider blockProvider)
{
BitcoinStore = bitcoinStore;
Synchronizer = synchronizer;
- Nodes = nodes;
ServiceConfiguration = serviceConfiguration;
FeeProvider = feeProvider;
BlockProvider = blockProvider;
foreach (var wallet in GetWallets().Where(w => w.State == WalletState.WaitingForInit))
{
- wallet.RegisterServices(BitcoinStore, Synchronizer, Nodes, ServiceConfiguration, FeeProvider, BlockProvider);
+ wallet.RegisterServices(BitcoinStore, Synchronizer, ServiceConfiguration, FeeProvider, BlockProvider);
}
IsInitialized = true;

WalletManager: Remove Nodes too.