lnwallet: properly make channelState an enum by using iota
This commit is contained in:
parent
8a56fbf196
commit
e01dd7f18d
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user