瀏覽代碼

rafthttp: fix comment in msgappv2

Xiang Li 10 年之前
父節點
當前提交
f2d558644d
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 {