mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-19 12:01:27 +02:00
contractcourt/chain_arbitrator: remove CloseChannel method from ChannelArbitrator config
This commit is contained in:
@@ -232,12 +232,6 @@ 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,
|
||||
}
|
||||
|
Reference in New Issue
Block a user