forked from TrueCloudLab/neoneo-go
network: fix Compress flag, it's the first bit (index 0)
This commit is contained in:
parent
0002b65238
commit
39fd799992
1 changed files with 1 additions and 1 deletions
|
@ -40,8 +40,8 @@ type MessageFlag byte
|
||||||
|
|
||||||
// Possible message flags
|
// Possible message flags
|
||||||
const (
|
const (
|
||||||
None MessageFlag = 0
|
|
||||||
Compressed MessageFlag = 1 << iota
|
Compressed MessageFlag = 1 << iota
|
||||||
|
None MessageFlag = 0
|
||||||
)
|
)
|
||||||
|
|
||||||
// CommandType represents the type of a message command.
|
// CommandType represents the type of a message command.
|
||||||
|
|
Loading…
Reference in a new issue