peer: the chancloser no longer needs to notify the breach arb of settled transactions

This commit is contained in:
Olaoluwa Osuntokun committed 2018-01-22 19:19:59 -08:00
1 parent 73641d222f
commit d4e650c85d
6 files changed
+36 -39

No files matched your search

+1 -3
View File
@@ -248,9 +248,7 @@ func createTestPeer(notifier chainntnfs.ChainNotifier,
wallet: wallet,
}
breachArbiter := &breachArbiter{
settledContracts: make(chan *wire.OutPoint, 10),
}
breachArbiter := &breachArbiter{}
chainArb := contractcourt.NewChainArbitrator(
contractcourt.ChainArbitratorConfig{}, nil,