From f5a321d0d3cbff57b57a1855d6a5cd03afaa1bc9 Mon Sep 17 00:00:00 2001 From: yyforyongyu Date: Fri, 12 Apr 2024 15:42:05 +0800 Subject: [PATCH] contractcourt: remove unused param to please linter --- contractcourt/channel_arbitrator.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contractcourt/channel_arbitrator.go b/contractcourt/channel_arbitrator.go index 27c73bcb2..64d062e99 100644 --- a/contractcourt/channel_arbitrator.go +++ b/contractcourt/channel_arbitrator.go @@ -2101,7 +2101,7 @@ func (c *ChannelArbitrator) checkRemoteChainActions( // the commitments, and cancel back any that are on the pending but not // the non-pending. remoteDiffActions := c.checkRemoteDiffActions( - height, activeHTLCs, pendingConf, + activeHTLCs, pendingConf, ) // Finally, we'll merge all the chain actions and the final set of @@ -2114,7 +2114,7 @@ func (c *ChannelArbitrator) checkRemoteChainActions( // confirmed commit and remote dangling commit for HTLCS that we need to cancel // back. If we find any HTLCs on the remote pending but not the remote, then // we'll mark them to be failed immediately. -func (c *ChannelArbitrator) checkRemoteDiffActions(height uint32, +func (c *ChannelArbitrator) checkRemoteDiffActions( activeHTLCs map[HtlcSetKey]htlcSet, pendingConf bool) ChainActionMap {