P2p: fix version number sizes
This commit is contained in:
parent
801bdf3d4c
commit
640671c7c5
@ -23,8 +23,8 @@ let encoding =
|
|||||||
(fun (name, major, minor) -> { name; major; minor })
|
(fun (name, major, minor) -> { name; major; minor })
|
||||||
(obj3
|
(obj3
|
||||||
(req "name" string)
|
(req "name" string)
|
||||||
(req "major" int8)
|
(req "major" uint16)
|
||||||
(req "minor" int8))
|
(req "minor" uint16))
|
||||||
|
|
||||||
(* the common version for a pair of peers, if any, is the maximum one,
|
(* the common version for a pair of peers, if any, is the maximum one,
|
||||||
in lexicographic order *)
|
in lexicographic order *)
|
||||||
|
Loading…
Reference in New Issue
Block a user