Skip to content

Commit ed74c3c

Browse files
authored
Fix fragment message data types (#511)
1 parent 770a815 commit ed74c3c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sync/p2p_messages.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ various types should be interpreted (corresponds to their encoding):
5858

5959
Fields:
6060

61-
- `N :: int16` - fragment N of M
62-
- `M :: int16` - total number of fragments
61+
- `N :: uint16` - fragment N of M
62+
- `M :: uint16` - total number of fragments
6363
- `Data :: byte_array`
6464

6565
*NOTE:* Data is either (65536 - 6) bytes or `N` is equal to `M`.

0 commit comments

Comments
 (0)