Skip to content

Commit 7bd5ff4

Browse files
committed
Trivial: Fix two VarInt examples in serialize.h
1 parent 41d8e78 commit 7bd5ff4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/serialize.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,8 +322,8 @@ uint64_t ReadCompactSize(Stream& is)
322322
* 0: [0x00] 256: [0x81 0x00]
323323
* 1: [0x01] 16383: [0xFE 0x7F]
324324
* 127: [0x7F] 16384: [0xFF 0x00]
325-
* 128: [0x80 0x00] 16511: [0x80 0xFF 0x7F]
326-
* 255: [0x80 0x7F] 65535: [0x82 0xFD 0x7F]
325+
* 128: [0x80 0x00] 16511: [0xFF 0x7F]
326+
* 255: [0x80 0x7F] 65535: [0x82 0xFE 0x7F]
327327
* 2^32: [0x8E 0xFE 0xFE 0xFF 0x00]
328328
*/
329329

0 commit comments

Comments
 (0)