Skip to content

Commit

Permalink
Fix fragment message data types (#511)
Browse files Browse the repository at this point in the history
  • Loading branch information
dincho authored Feb 20, 2023
1 parent 770a815 commit ed74c3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sync/p2p_messages.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ various types should be interpreted (corresponds to their encoding):

Fields:

- `N :: int16` - fragment N of M
- `M :: int16` - total number of fragments
- `N :: uint16` - fragment N of M
- `M :: uint16` - total number of fragments
- `Data :: byte_array`

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

0 comments on commit ed74c3c

Please sign in to comment.