mirror of
https://github.com/status-im/nim-libp2p.git
synced 2025-01-11 21:44:24 +00:00
readMplexVarint should return uint64
This commit is contained in:
parent
2de98751ae
commit
4199508f17
@ -26,7 +26,7 @@ type
|
|||||||
msgType: MessageType
|
msgType: MessageType
|
||||||
data: seq[byte]
|
data: seq[byte]
|
||||||
|
|
||||||
proc readMplexVarint(conn: Connection): Future[uint] {.async, gcsafe.} =
|
proc readMplexVarint(conn: Connection): Future[uint64] {.async, gcsafe.} =
|
||||||
var
|
var
|
||||||
varint: uint
|
varint: uint
|
||||||
length: int
|
length: int
|
||||||
|
Loading…
x
Reference in New Issue
Block a user