@@ -666,6 +666,7 @@ func (lc *LightningChannel) diskCommitToMemCommit(
666666 return s .FetchLeavesFromCommit (
667667 NewAuxChanState (lc .channelState ), * diskCommit ,
668668 * commitKeys .GetForParty (whoseCommit ),
669+ whoseCommit ,
669670 )
670671 },
671672 ).Unpack ()
@@ -1798,7 +1799,7 @@ func (lc *LightningChannel) restorePendingLocalUpdates(
17981799 func (s AuxLeafStore ) fn.Result [CommitDiffAuxResult ] {
17991800 return s .FetchLeavesFromCommit (
18001801 NewAuxChanState (lc .channelState ), pendingCommit ,
1801- * pendingRemoteKeys ,
1802+ * pendingRemoteKeys , lntypes . Remote ,
18021803 )
18031804 },
18041805 ).Unpack ()
@@ -3219,7 +3220,7 @@ func genRemoteHtlcSigJobs(keyRing *CommitmentKeyRing,
32193220 leafStore , func (s AuxLeafStore ) fn.Result [CommitDiffAuxResult ] {
32203221 return s .FetchLeavesFromCommit (
32213222 NewAuxChanState (chanState ), * diskCommit ,
3222- * keyRing ,
3223+ * keyRing , lntypes . Remote ,
32233224 )
32243225 },
32253226 ).Unpack ()
@@ -4764,7 +4765,7 @@ func genHtlcSigValidationJobs(chanState *channeldb.OpenChannel,
47644765 leafStore , func (s AuxLeafStore ) fn.Result [CommitDiffAuxResult ] {
47654766 return s .FetchLeavesFromCommit (
47664767 NewAuxChanState (chanState ), * diskCommit ,
4767- * keyRing ,
4768+ * keyRing , lntypes . Local ,
47684769 )
47694770 },
47704771 ).Unpack ()
@@ -6668,7 +6669,7 @@ func NewUnilateralCloseSummary(chanState *channeldb.OpenChannel, //nolint:funlen
66686669 leafStore , func (s AuxLeafStore ) fn.Result [CommitDiffAuxResult ] {
66696670 return s .FetchLeavesFromCommit (
66706671 NewAuxChanState (chanState ), remoteCommit ,
6671- * keyRing ,
6672+ * keyRing , lntypes . Remote ,
66726673 )
66736674 },
66746675 ).Unpack ()
@@ -7890,6 +7891,7 @@ func NewLocalForceCloseSummary(chanState *channeldb.OpenChannel,
78907891 return s .FetchLeavesFromCommit (
78917892 NewAuxChanState (chanState ),
78927893 chanState .LocalCommitment , * keyRing ,
7894+ lntypes .Local ,
78937895 )
78947896 },
78957897 ).Unpack ()
0 commit comments