mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-28 22:50:58 +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
|
// include the reward script negotiated during session creation. Without
|
||||||
// the flag, there is only one output sweeping clients funds back to
|
// the flag, there is only one output sweeping clients funds back to
|
||||||
// them solely.
|
// them solely.
|
||||||
FlagReward Flag = 1 << iota
|
FlagReward Flag = 1
|
||||||
|
|
||||||
// FlagCommitOutputs signals that the blob contains the information
|
// FlagCommitOutputs signals that the blob contains the information
|
||||||
// required to sweep commitment outputs.
|
// required to sweep commitment outputs.
|
||||||
FlagCommitOutputs
|
FlagCommitOutputs Flag = 1 << 1
|
||||||
)
|
)
|
||||||
|
|
||||||
// Type returns a Type consisting solely of this flag enabled.
|
// Type returns a Type consisting solely of this flag enabled.
|
||||||
|
Reference in New Issue
Block a user