watchtower/blob/type: remove use of iota for flag constants
This commit is contained in:
parent
b8eb41f947
commit
ed67ce7678
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user