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

@@ -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")
}