rpcserver: remove uneccessary signal to breacharbiter at force close

This signal is no longer needed, as the breacharbiter is given
the UnilateralClosure chain event.
This commit is contained in:
Johan T. Halseth 2018-03-05 13:32:11 +01:00
parent 2b00e01c53
commit 0f90c950da
No known key found for this signature in database
GPG Key ID: 15BAADA29DA20D26

@ -1031,12 +1031,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