mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-27 20:39:56 +02:00
contractcourt/channel_arbitrator: remove unused transationTrigger
This commit is contained in:
@@ -551,7 +551,6 @@ func (c *ChannelArbitrator) stateStep(triggerHeight uint32,
|
|||||||
// outstanding contracts.
|
// outstanding contracts.
|
||||||
htlcResolvers, pktsToSend, err := c.prepContractResolutions(
|
htlcResolvers, pktsToSend, err := c.prepContractResolutions(
|
||||||
chainActions, contractResolutions, triggerHeight,
|
chainActions, contractResolutions, triggerHeight,
|
||||||
trigger,
|
|
||||||
)
|
)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Errorf("ChannelArbitrator(%v): unable to "+
|
log.Errorf("ChannelArbitrator(%v): unable to "+
|
||||||
@@ -933,7 +932,6 @@ func (c *ChannelArbitrator) checkChainActions(height uint32,
|
|||||||
// are properly resolved.
|
// are properly resolved.
|
||||||
func (c *ChannelArbitrator) prepContractResolutions(htlcActions ChainActionMap,
|
func (c *ChannelArbitrator) prepContractResolutions(htlcActions ChainActionMap,
|
||||||
contractResolutions *ContractResolutions, height uint32,
|
contractResolutions *ContractResolutions, height uint32,
|
||||||
trigger transitionTrigger,
|
|
||||||
) ([]ContractResolver, []ResolutionMsg, error) {
|
) ([]ContractResolver, []ResolutionMsg, error) {
|
||||||
|
|
||||||
// There may be a class of HTLC's which we can fail back immediately,
|
// There may be a class of HTLC's which we can fail back immediately,
|
||||||
|
Reference in New Issue
Block a user