mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-29 15:11:09 +02:00
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:
@@ -436,6 +436,7 @@ func (c *chainWatcher) handleUnknownLocalState(
|
||||
return s.FetchLeavesFromCommit(
|
||||
lnwallet.NewAuxChanState(c.cfg.chanState),
|
||||
c.cfg.chanState.LocalCommitment, *commitKeyRing,
|
||||
lntypes.Local,
|
||||
)
|
||||
},
|
||||
).Unpack()
|
||||
|
Reference in New Issue
Block a user