Procházet zdrojové kódy

Merge pull request #5048 from xiang90/fix_c

rafthttp: fix comment in msgappv2
Xiang Li před 10 roky
rodič
revize
040f7b90c7
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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 {