From ddf62bbeea1459e22c3891f4e22fc2a66d945a18 Mon Sep 17 00:00:00 2001 From: "Johan T. Halseth" Date: Thu, 12 Apr 2018 15:14:04 +0200 Subject: [PATCH] contractcourt/channel_arbitrator: remove unused transationTrigger --- contractcourt/channel_arbitrator.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/contractcourt/channel_arbitrator.go b/contractcourt/channel_arbitrator.go index 47448e0f..cd6fc2a9 100644 --- a/contractcourt/channel_arbitrator.go +++ b/contractcourt/channel_arbitrator.go @@ -551,7 +551,6 @@ func (c *ChannelArbitrator) stateStep(triggerHeight uint32, // outstanding contracts. htlcResolvers, pktsToSend, err := c.prepContractResolutions( chainActions, contractResolutions, triggerHeight, - trigger, ) if err != nil { log.Errorf("ChannelArbitrator(%v): unable to "+ @@ -933,7 +932,6 @@ func (c *ChannelArbitrator) checkChainActions(height uint32, // are properly resolved. func (c *ChannelArbitrator) prepContractResolutions(htlcActions ChainActionMap, contractResolutions *ContractResolutions, height uint32, - trigger transitionTrigger, ) ([]ContractResolver, []ResolutionMsg, error) { // There may be a class of HTLC's which we can fail back immediately,