From 4199508f1722760ebf386c83968add0ee58815a4 Mon Sep 17 00:00:00 2001 From: Dmitriy Ryajov Date: Tue, 24 Mar 2020 07:32:15 -0600 Subject: [PATCH] readMplexVarint should return uint64 --- libp2p/muxers/mplex/coder.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libp2p/muxers/mplex/coder.nim b/libp2p/muxers/mplex/coder.nim index 891e535f9..a0a240131 100644 --- a/libp2p/muxers/mplex/coder.nim +++ b/libp2p/muxers/mplex/coder.nim @@ -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