mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-20 13:04:28 +02:00
contractcourt/channel arbitrator: add coopCloseTrigger on startup for pendingClose channel
This commit is contained in:
@@ -277,8 +277,13 @@ func (c *ChannelArbitrator) Start() error {
|
||||
fallthrough
|
||||
case StateCommitmentBroadcasted:
|
||||
switch c.cfg.CloseType {
|
||||
|
||||
case channeldb.CooperativeClose:
|
||||
trigger = coopCloseTrigger
|
||||
|
||||
case channeldb.LocalForceClose:
|
||||
trigger = localCloseTrigger
|
||||
|
||||
case channeldb.RemoteForceClose:
|
||||
trigger = remoteCloseTrigger
|
||||
}
|
||||
|
Reference in New Issue
Block a user