A port is an unsigned int16... (fix encoding)

This commit is contained in:
Pierre Boutillier 2018-11-15 14:08:20 +01:00
parent 481772fc98
commit 8b839c9ad9
No known key found for this signature in database
GPG Key ID: C2F73508B56A193C

View File

@ -185,6 +185,6 @@ module Pool_event = struct
(req "kind" kind_encoding)
(req "timestamp" Time.encoding)
(req "addr" P2p_addr.encoding)
(opt "port" int16))
(opt "port" uint16))
end