From f7244ffa5e49d34d1673c10ab03bf28aa57cc901 Mon Sep 17 00:00:00 2001 From: Lucas Willems Date: Sat, 15 Apr 2023 22:04:47 +0200 Subject: [PATCH] Another fix --- docs/developers/developer-reference/serialization-format.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/developers/developer-reference/serialization-format.md b/docs/developers/developer-reference/serialization-format.md index 88867ead4..1e68566f2 100644 --- a/docs/developers/developer-reference/serialization-format.md +++ b/docs/developers/developer-reference/serialization-format.md @@ -156,7 +156,7 @@ Next we encode: | `BigUint` | `256` | `0x0100` | `0x000000020100` | `256` is the smallest number that takes 2 bytes. | | `BigInt` | `0` | `0x` | `0x00000000` | Signed `0` is also represented as zero-length bytes. | | `BigInt` | `1` | `0x01` | `0x0000000101` | Signed `1` is also represented as 1 byte. | -| `BigInt` | `-1` | `0x01FF` | `0x00000001FF` | The shortest 2's complement representation of `-1` if `FF`. The most significant bit is 1. | +| `BigInt` | `-1` | `0xFF` | `0x00000001FF` | The shortest 2's complement representation of `-1` is `FF`. The most significant bit is 1. | | `BigUint` | `127` | `0x7F` | `0x000000017F` | | | `BigInt` | `127` | `0x7F` | `0x000000017F` | | | `BigUint` | `128` | `0x80` | `0x0000000180` | |