lnwallet: properly make channelState an enum by using iota

This commit is contained in:
Olaoluwa Osuntokun 2016-07-27 11:29:46 -07:00
parent 8a56fbf196
commit e01dd7f18d
No known key found for this signature in database
GPG Key ID: 9CC5B105D03521A2

@ -50,7 +50,7 @@ type channelState uint8
const (
// channelPending indicates this channel is still going through the
// funding workflow, and isn't yet open.
channelPending channelState = 1
channelPending channelState = iota
// channelOpen represents an open, active channel capable of
// sending/receiving HTLCs.