mirror of
https://github.com/aljazceru/breez-lnd.git
synced 2026-02-20 22:14:36 +01:00
channeldb: AdvanceCommitChainTail clarification comment
This commit is contained in:
@@ -2396,8 +2396,9 @@ func (c *OpenChannel) AdvanceCommitChainTail(fwdPkg *FwdPkg,
|
||||
// in their new commitment.
|
||||
updateBytes := chanBucket.Get(unsignedAckedUpdatesKey)
|
||||
if updateBytes == nil {
|
||||
// If there are no updates to sign, we don't need to
|
||||
// filter out any updates.
|
||||
// This shouldn't normally happen as we always store
|
||||
// the number of updates, but could still be
|
||||
// encountered by nodes that are upgrading.
|
||||
newRemoteCommit = &newCommit.Commitment
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user