aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2016-08-24 10:41:31 +0200
committerPieter Wuille <pieter.wuille@gmail.com>2016-08-24 10:42:08 +0200
commitf12d2b5a8ac397e4bcaefcc19898f8ff5705dea5 (patch)
treeedf2c23eca2b03af00e980617702711b1c4c5617
parentf9167003d947fa994cdd14406da79a1758acb7b3 (diff)
parent7bd5ff46237b06b3cf223176c1c71ef66383fa92 (diff)
Merge #8560: Trivial: Fix two VarInt examples in serialize.h
7bd5ff4 Trivial: Fix two VarInt examples in serialize.h (Christian Barcenas)
-rw-r--r--src/serialize.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/serialize.h b/src/serialize.h
index 378ed39074..04ab9aa2e7 100644
--- a/src/serialize.h
+++ b/src/serialize.h
@@ -322,8 +322,8 @@ uint64_t ReadCompactSize(Stream& is)
* 0: [0x00] 256: [0x81 0x00]
* 1: [0x01] 16383: [0xFE 0x7F]
* 127: [0x7F] 16384: [0xFF 0x00]
- * 128: [0x80 0x00] 16511: [0x80 0xFF 0x7F]
- * 255: [0x80 0x7F] 65535: [0x82 0xFD 0x7F]
+ * 128: [0x80 0x00] 16511: [0xFF 0x7F]
+ * 255: [0x80 0x7F] 65535: [0x82 0xFE 0x7F]
* 2^32: [0x8E 0xFE 0xFE 0xFF 0x00]
*/