Commit c87a541e authored by Jeremy Bokobza's avatar Jeremy Bokobza

Added call to walletManager Initialize in the lightwallet feature

parent e0379287
...@@ -9,15 +9,18 @@ namespace Breeze.Wallet ...@@ -9,15 +9,18 @@ namespace Breeze.Wallet
public class LightWalletFeature : FullNodeFeature public class LightWalletFeature : FullNodeFeature
{ {
private readonly IWalletSyncManager walletSyncManager; private readonly IWalletSyncManager walletSyncManager;
private readonly IWalletManager walletManager;
public LightWalletFeature(IWalletSyncManager walletSyncManager) public LightWalletFeature(IWalletSyncManager walletSyncManager, IWalletManager walletManager)
{ {
this.walletSyncManager = walletSyncManager; this.walletSyncManager = walletSyncManager;
this.walletManager = walletManager;
} }
public override void Start() public override void Start()
{ {
this.walletSyncManager.Initialize(); this.walletSyncManager.Initialize();
this.walletManager.Initialize();
} }
public override void Stop() public override void Stop()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment