From 18a2c8a4557d768645cc68711ae91b2da28c7268 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Thu, 4 May 2017 17:44:10 -0700 Subject: [PATCH] channeldb: fix linter errors --- channeldb/channel.go | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/channeldb/channel.go b/channeldb/channel.go index bd75014a..5c8313eb 100644 --- a/channeldb/channel.go +++ b/channeldb/channel.go @@ -658,16 +658,17 @@ func (c *OpenChannel) FindPreviousState(updateNum uint64) (*ChannelDelta, error) type ClosureType uint8 const ( - // Cooperative indicates that a channel has been closed cooperatively. - // This means that both channel peers were online and signed a new - // transaction paying out the settled balance of the contract. + // CooperativeClose indicates that a channel has been closed + // cooperatively. This means that both channel peers were online and + // signed a new transaction paying out the settled balance of the + // contract. CooperativeClose ClosureType = iota - // Force indicates that one peer unilaterally broadcast their current - // commitment state on-chain. + // ForceClose indicates that one peer unilaterally broadcast their + // current commitment state on-chain. ForceClose - // Beach indicates that one peer attempted to broadcast a prior + // BreachClose indicates that one peer attempted to broadcast a prior // _revoked_ channel state. BreachClose )