lnwallet/channel: log pending remote commit during restore
This commit is contained in:
parent
1d172428c4
commit
1d676b77e1
@ -1658,6 +1658,13 @@ func (lc *LightningChannel) restoreCommitState(
|
||||
}
|
||||
lc.remoteCommitChain.addCommitment(pendingRemoteCommit)
|
||||
|
||||
walletLog.Debugf("ChannelPoint(%v), pending remote "+
|
||||
"commitment: %v", lc.channelState.FundingOutpoint,
|
||||
newLogClosure(func() string {
|
||||
return spew.Sdump(lc.remoteCommitChain.tip())
|
||||
}),
|
||||
)
|
||||
|
||||
// We'll also re-create the set of commitment keys needed to
|
||||
// fully re-derive the state.
|
||||
pendingRemoteKeyChain = deriveCommitmentKeys(
|
||||
|
Loading…
Reference in New Issue
Block a user