mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-07-09 23:12:33 +02:00
watchtower/blob/type: remove use of iota for flag constants
This commit is contained in:
@ -14,11 +14,11 @@ const (
|
||||
// include the reward script negotiated during session creation. Without
|
||||
// the flag, there is only one output sweeping clients funds back to
|
||||
// them solely.
|
||||
FlagReward Flag = 1 << iota
|
||||
FlagReward Flag = 1
|
||||
|
||||
// FlagCommitOutputs signals that the blob contains the information
|
||||
// required to sweep commitment outputs.
|
||||
FlagCommitOutputs
|
||||
FlagCommitOutputs Flag = 1 << 1
|
||||
)
|
||||
|
||||
// Type returns a Type consisting solely of this flag enabled.
|
||||
|
Reference in New Issue
Block a user