mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-12 10:30:40 +01:00
Merge pull request #954 from halseth/remove-breacharbiter-signal
[mini] rpcserver: remove uneccessary signal to breacharbiter at force close
This commit is contained in:
commit
90a13aedcf
1 changed files with 0 additions and 6 deletions
|
@ -1030,12 +1030,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
|
||||||
|
|
Loading…
Add table
Reference in a new issue