mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-26 10:16:36 +02:00
contractcourt/chain_arbitrator: remove CloseChannel method from ChannelArbitrator config
This commit is contained in:
@@ -232,14 +232,8 @@ func newActiveChannelArbitrator(channel *channeldb.OpenChannel,
|
|||||||
return chanMachine.ForceClose()
|
return chanMachine.ForceClose()
|
||||||
},
|
},
|
||||||
MarkCommitmentBroadcasted: channel.MarkCommitmentBroadcasted,
|
MarkCommitmentBroadcasted: channel.MarkCommitmentBroadcasted,
|
||||||
CloseChannel: func(summary *channeldb.ChannelCloseSummary) error {
|
ChainArbitratorConfig: c.cfg,
|
||||||
log.Tracef("ChannelArbitrator(%v): closing "+
|
ChainEvents: chanEvents,
|
||||||
"channel", chanPoint)
|
|
||||||
|
|
||||||
return channel.CloseChannel(summary)
|
|
||||||
},
|
|
||||||
ChainArbitratorConfig: c.cfg,
|
|
||||||
ChainEvents: chanEvents,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// The final component needed is an arbitrator log that the arbitrator
|
// The final component needed is an arbitrator log that the arbitrator
|
||||||
|
Reference in New Issue
Block a user