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 -1
View File
@@ -847,7 +847,7 @@ func (r *rpcServer) CloseChannel(in *lnrpc.CloseChannelRequest,
}
select {
case r.server.breachArbiter.settledContracts <- chanPoint:
case r.server.breachArbiter.settledContracts <- *chanPoint:
case <-r.quit:
return fmt.Errorf("server shutting down")
}