Commit 0c24b762 authored by Dan Gershony's avatar Dan Gershony Committed by GitHub

Merge pull request #102 from bokobza/master

Removed chain from BlockObserver
parents a1e913c0 c48d69a5
...@@ -45,7 +45,7 @@ namespace Breeze.Wallet ...@@ -45,7 +45,7 @@ namespace Breeze.Wallet
await this.WaitForChainDownloadAsync(); await this.WaitForChainDownloadAsync();
// subscribe to receiving blocks and transactions // subscribe to receiving blocks and transactions
BlockSubscriber sub = new BlockSubscriber(this.signals.Blocks, new BlockObserver(this.chain, this)); BlockSubscriber sub = new BlockSubscriber(this.signals.Blocks, new BlockObserver(this));
sub.Subscribe(); sub.Subscribe();
TransactionSubscriber txSub = new TransactionSubscriber(this.signals.Transactions, new TransactionObserver(this)); TransactionSubscriber txSub = new TransactionSubscriber(this.signals.Transactions, new TransactionObserver(this));
txSub.Subscribe(); txSub.Subscribe();
......
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