lnwallet: add whoseCommit to FetchLeavesFromCommit
This is useful for additional context to know which commit the AuxLeafStore is fetching the leaves for.
This commit is contained in:
5 files changed
+13
-8
No files matched your search
@@ -178,7 +178,8 @@ type AuxLeafStore interface {
|
||||
// commitment.
|
||||
FetchLeavesFromCommit(chanState AuxChanState,
|
||||
commit channeldb.ChannelCommitment,
|
||||
keyRing CommitmentKeyRing) fn.Result[CommitDiffAuxResult]
|
||||
keyRing CommitmentKeyRing, whoseCommit lntypes.ChannelParty,
|
||||
) fn.Result[CommitDiffAuxResult]
|
||||
|
||||
// FetchLeavesFromRevocation attempts to fetch the auxiliary leaves
|
||||
// from a channel revocation that stores balance + blob information.
|
||||
|
||||
Reference in new issue
Block a user