@@ -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 ()
@@ -1834,7 +1835,7 @@ func (lc *LightningChannel) restorePendingLocalUpdates(
18341835 func (s AuxLeafStore ) fn.Result [CommitDiffAuxResult ] {
18351836 return s .FetchLeavesFromCommit (
18361837 NewAuxChanState (lc .channelState ), pendingCommit ,
1837- * pendingRemoteKeys ,
1838+ * pendingRemoteKeys , lntypes . Remote ,
18381839 )
18391840 },
18401841 ).Unpack ()
@@ -3154,7 +3155,7 @@ func genRemoteHtlcSigJobs(keyRing *CommitmentKeyRing,
31543155 leafStore , func (s AuxLeafStore ) fn.Result [CommitDiffAuxResult ] {
31553156 return s .FetchLeavesFromCommit (
31563157 NewAuxChanState (chanState ), * diskCommit ,
3157- * keyRing ,
3158+ * keyRing , lntypes . Remote ,
31583159 )
31593160 },
31603161 ).Unpack ()
@@ -4740,7 +4741,7 @@ func genHtlcSigValidationJobs(chanState *channeldb.OpenChannel,
47404741 leafStore , func (s AuxLeafStore ) fn.Result [CommitDiffAuxResult ] {
47414742 return s .FetchLeavesFromCommit (
47424743 NewAuxChanState (chanState ), * diskCommit ,
4743- * keyRing ,
4744+ * keyRing , lntypes . Local ,
47444745 )
47454746 },
47464747 ).Unpack ()
@@ -6727,7 +6728,7 @@ func NewUnilateralCloseSummary(chanState *channeldb.OpenChannel, //nolint:funlen
67276728 leafStore , func (s AuxLeafStore ) fn.Result [CommitDiffAuxResult ] {
67286729 return s .FetchLeavesFromCommit (
67296730 NewAuxChanState (chanState ), remoteCommit ,
6730- * keyRing ,
6731+ * keyRing , lntypes . Remote ,
67316732 )
67326733 },
67336734 ).Unpack ()
@@ -7949,6 +7950,7 @@ func NewLocalForceCloseSummary(chanState *channeldb.OpenChannel,
79497950 return s .FetchLeavesFromCommit (
79507951 NewAuxChanState (chanState ),
79517952 chanState .LocalCommitment , * keyRing ,
7953+ lntypes .Local ,
79527954 )
79537955 },
79547956 ).Unpack ()
0 commit comments