mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-10-11 13:52:55 +02:00
rpcserver: remove send to settledContracts
This commit is contained in:
@@ -1043,12 +1043,6 @@ func (r *rpcServer) CloseChannel(in *lnrpc.CloseChannelRequest,
|
|||||||
r.server.htlcSwitch.RemoveLink(chanID)
|
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
|
// With the necessary indexes cleaned up, we'll now force close
|
||||||
// the channel.
|
// the channel.
|
||||||
chainArbitrator := r.server.chainArb
|
chainArbitrator := r.server.chainArb
|
||||||
|
Reference in New Issue
Block a user