Merge pull request #954 from halseth/remove-breacharbiter-signal

[mini] rpcserver: remove uneccessary signal to breacharbiter at force close
This commit is contained in:
Olaoluwa Osuntokun 2018-03-28 15:21:42 -07:00 committed by GitHub
commit 90a13aedcf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1030,12 +1030,6 @@ func (r *rpcServer) CloseChannel(in *lnrpc.CloseChannelRequest,
r.server.htlcSwitch.RemoveLink(chanID)
}
select {
case r.server.breachArbiter.settledContracts <- *chanPoint:
case <-r.quit:
return fmt.Errorf("server shutting down")
}
// With the necessary indexes cleaned up, we'll now force close
// the channel.
chainArbitrator := r.server.chainArb