contractcourt/channel_arbitrator: remove unused transationTrigger

This commit is contained in:
Johan T. Halseth 2018-04-12 15:14:04 +02:00
parent 97977c8a06
commit ddf62bbeea
No known key found for this signature in database
GPG Key ID: 15BAADA29DA20D26

@ -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,