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
|
||||
data: seq[byte]
|
||||
|
||||
proc readMplexVarint(conn: Connection): Future[uint] {.async, gcsafe.} =
|
||||
proc readMplexVarint(conn: Connection): Future[uint64] {.async, gcsafe.} =
|
||||
var
|
||||
varint: uint
|
||||
length: int
|
||||
|
|
Loading…
Reference in New Issue