watchtower/blob/type: remove use of iota for flag constants

This commit is contained in:
Conner Fromknecht 2020-09-15 12:43:06 -04:00
parent b8eb41f947
commit ed67ce7678
No known key found for this signature in database
GPG Key ID: E7D737B67FA592C7

View File

@ -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.