mirror of https://github.com/vacp2p/nim-libp2p.git
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…
Reference in New Issue