Browse Source

rafthttp: fix comment in msgappv2

Xiang Li 9 years ago
parent
commit
f2d558644d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      rafthttp/msgappv2_codec.go

+ 1 - 1
rafthttp/msgappv2_codec.go

@@ -58,7 +58,7 @@ const (
 // Data format of MsgApp:
 // | offset | bytes | description |
 // +--------+-------+-------------+
-// | 0      | 1     | \x01        |
+// | 0      | 1     | \x02        |
 // | 1      | 8     | length of encoded message |
 // | 9      | n     | encoded message |
 type msgAppV2Encoder struct {