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

This commit is contained in:
Olaoluwa Osuntokun
2018-01-20 20:27:25 -08:00
parent 73641d222f
commit d4e650c85d
6 changed files with 36 additions and 39 deletions

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,