contractcourt/chain_arbitrator: remove CloseChannel method from ChannelArbitrator config
This commit is contained in:
1 file changed
+2
-8
@@ -232,14 +232,8 @@ func newActiveChannelArbitrator(channel *channeldb.OpenChannel,
|
||||
return chanMachine.ForceClose()
|
||||
},
|
||||
MarkCommitmentBroadcasted: channel.MarkCommitmentBroadcasted,
|
||||
CloseChannel: func(summary *channeldb.ChannelCloseSummary) error {
|
||||
log.Tracef("ChannelArbitrator(%v): closing "+
|
||||
"channel", chanPoint)
|
||||
|
||||
return channel.CloseChannel(summary)
|
||||
},
|
||||
ChainArbitratorConfig: c.cfg,
|
||||
ChainEvents: chanEvents,
|
||||
ChainArbitratorConfig: c.cfg,
|
||||
ChainEvents: chanEvents,
|
||||
}
|
||||
|
||||
// The final component needed is an arbitrator log that the arbitrator
|
||||
|
||||
Reference in new issue
Block a user