Skip to content

Commit

Permalink
Tweaking decimal examples that bothered me
Browse files Browse the repository at this point in the history
  • Loading branch information
Wes Biggs committed Aug 7, 2024
1 parent eda2857 commit f3ba6e3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pages/DSNP/Serializations.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ Strings are used to avoid issues with different implementations of numbers.

| Invalid | Why | Valid |
| --- | --- | --- |
| `0x123` | Must be decimal | `"291"` |
| 291 | Must be a string | `"291"` |
| `291n` | `BigInt(291)` serialization appends an `n` | `"291"` |
| `"0x123"` | Must be decimal | `"291"` |
| `291` | Must be a string | `"291"` |
| `"291n"` | `BigInt(291)` serialization appends an `n` | `"291"` |

## base32 multibase

Expand Down

0 comments on commit f3ba6e3

Please sign in to comment.