mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-22 14:22:37 +01:00
channeldb/channel: update IsPending godoc
The pending state definitin in ChannelCloseSummary was slightly changed in such a way that channels that has had their commitment broadcasted now is no longer considered "pending close". They now instead stay in the open chan bucket with the ChanStatus "CommitmentBroadcasted" until their commitment is confirmed. This commit updates the IsPending godoc to reflect this.
This commit is contained in:
parent
74205a64fd
commit
72d9726e7f
1 changed files with 6 additions and 6 deletions
|
@ -1673,12 +1673,12 @@ type ChannelCloseSummary struct {
|
|||
|
||||
// IsPending indicates whether this channel is in the 'pending close'
|
||||
// state, which means the channel closing transaction has been
|
||||
// broadcast, but not confirmed yet or has not yet been fully resolved.
|
||||
// In the case of a channel that has been cooperatively closed, it will
|
||||
// no longer be considered pending as soon as the closing transaction
|
||||
// has been confirmed. However, for channel that have been force
|
||||
// closed, they'll stay marked as "pending" until _all_ the pending
|
||||
// funds have been swept.
|
||||
// confirmed, but not yet been fully resolved. In the case of a channel
|
||||
// that has been cooperatively closed, it will go straight into the
|
||||
// fully resolved state as soon as the closing transaction has been
|
||||
// confirmed. However, for channel that have been force closed, they'll
|
||||
// stay marked as "pending" until _all_ the pending funds have been
|
||||
// swept.
|
||||
IsPending bool
|
||||
|
||||
// RemoteCurrentRevocation is the current revocation for their
|
||||
|
|
Loading…
Add table
Reference in a new issue