contractcourt/channel arbitrator: add coopCloseTrigger on startup for pendingClose channel
This commit is contained in:
parent
47788c3cec
commit
4933120d38
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user