rpcserver: remove send to settledContracts

This commit is contained in:
Johan T. Halseth 2018-04-19 09:44:34 +02:00
parent 55ac8735b6
commit 409ab08c36
No known key found for this signature in database
GPG Key ID: 15BAADA29DA20D26

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