mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-07-15 23:52:37 +02:00
lnwallet: properly make channelState an enum by using iota
This commit is contained in:
@ -50,7 +50,7 @@ type channelState uint8
|
|||||||
const (
|
const (
|
||||||
// channelPending indicates this channel is still going through the
|
// channelPending indicates this channel is still going through the
|
||||||
// funding workflow, and isn't yet open.
|
// funding workflow, and isn't yet open.
|
||||||
channelPending channelState = 1
|
channelPending channelState = iota
|
||||||
|
|
||||||
// channelOpen represents an open, active channel capable of
|
// channelOpen represents an open, active channel capable of
|
||||||
// sending/receiving HTLCs.
|
// sending/receiving HTLCs.
|
||||||
|
Reference in New Issue
Block a user