channeldb: fix linter errors

This commit is contained in:
Olaoluwa Osuntokun 2017-05-04 17:44:10 -07:00
parent 3538dffe4e
commit 18a2c8a455
No known key found for this signature in database
GPG Key ID: 9CC5B105D03521A2

@ -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
) )