channeldb: AdvanceCommitChainTail clarification comment
This commit is contained in:
parent
8f940a5ea3
commit
9d0d5bdfaf
@ -2396,8 +2396,9 @@ func (c *OpenChannel) AdvanceCommitChainTail(fwdPkg *FwdPkg,
|
|||||||
// in their new commitment.
|
// in their new commitment.
|
||||||
updateBytes := chanBucket.Get(unsignedAckedUpdatesKey)
|
updateBytes := chanBucket.Get(unsignedAckedUpdatesKey)
|
||||||
if updateBytes == nil {
|
if updateBytes == nil {
|
||||||
// If there are no updates to sign, we don't need to
|
// This shouldn't normally happen as we always store
|
||||||
// filter out any updates.
|
// the number of updates, but could still be
|
||||||
|
// encountered by nodes that are upgrading.
|
||||||
newRemoteCommit = &newCommit.Commitment
|
newRemoteCommit = &newCommit.Commitment
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user