channeldb: fix linter errors
This commit is contained in:
parent
3538dffe4e
commit
18a2c8a455
@ -658,16 +658,17 @@ func (c *OpenChannel) FindPreviousState(updateNum uint64) (*ChannelDelta, error)
|
|||||||
type ClosureType uint8
|
type ClosureType uint8
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// Cooperative indicates that a channel has been closed cooperatively.
|
// CooperativeClose indicates that a channel has been closed
|
||||||
// This means that both channel peers were online and signed a new
|
// cooperatively. This means that both channel peers were online and
|
||||||
// transaction paying out the settled balance of the contract.
|
// signed a new transaction paying out the settled balance of the
|
||||||
|
// contract.
|
||||||
CooperativeClose ClosureType = iota
|
CooperativeClose ClosureType = iota
|
||||||
|
|
||||||
// Force indicates that one peer unilaterally broadcast their current
|
// ForceClose indicates that one peer unilaterally broadcast their
|
||||||
// commitment state on-chain.
|
// current commitment state on-chain.
|
||||||
ForceClose
|
ForceClose
|
||||||
|
|
||||||
// Beach indicates that one peer attempted to broadcast a prior
|
// BreachClose indicates that one peer attempted to broadcast a prior
|
||||||
// _revoked_ channel state.
|
// _revoked_ channel state.
|
||||||
BreachClose
|
BreachClose
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user