mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-22 15:57:49 +02:00
contractcourt/[chain|channel]_arbitrator: define IsPendingClose
This commit is contained in:
@@ -244,6 +244,7 @@ func newActiveChannelArbitrator(channel *channeldb.OpenChannel,
|
||||
},
|
||||
MarkCommitmentBroadcasted: channel.MarkCommitmentBroadcasted,
|
||||
MarkChannelClosed: channel.CloseChannel,
|
||||
IsPendingClose: false,
|
||||
ChainArbitratorConfig: c.cfg,
|
||||
ChainEvents: chanEvents,
|
||||
}
|
||||
@@ -399,6 +400,9 @@ func (c *ChainArbitrator) Start() error {
|
||||
BlockEpochs: blockEpoch,
|
||||
ChainArbitratorConfig: c.cfg,
|
||||
ChainEvents: &ChainEventSubscription{},
|
||||
IsPendingClose: true,
|
||||
ClosingHeight: closeChanInfo.CloseHeight,
|
||||
CloseType: closeChanInfo.CloseType,
|
||||
}
|
||||
chanLog, err := newBoltArbitratorLog(
|
||||
c.chanSource.DB, arbCfg, c.cfg.ChainHash, chanPoint,
|
||||
|
Reference in New Issue
Block a user