contractcourt/[channel|chain]_arbitrator: define MarkChannelClosed

This commit is contained in:
Johan T. Halseth
2018-08-21 12:21:15 +02:00
parent 740db4716f
commit 3549f2bc17
3 changed files with 11 additions and 1 deletions

View File

@@ -243,6 +243,7 @@ func newActiveChannelArbitrator(channel *channeldb.OpenChannel,
return chanMachine.ForceClose()
},
MarkCommitmentBroadcasted: channel.MarkCommitmentBroadcasted,
MarkChannelClosed: channel.CloseChannel,
ChainArbitratorConfig: c.cfg,
ChainEvents: chanEvents,
}