mirror of
https://github.com/status-im/nim-libp2p.git
synced 2025-01-11 13:34:26 +00:00
typo
This commit is contained in:
parent
30a496de5e
commit
0349165830
@ -53,7 +53,7 @@ proc readMsg*(conn: Connection): Future[Msg] {.async, gcsafe.} =
|
||||
trace "read header varint", varint = headerVarint
|
||||
|
||||
let dataLenVarint = await conn.readMplexVarint()
|
||||
trace "read data len varing", varint = dataLenVarint
|
||||
trace "read data len varint", varint = dataLenVarint
|
||||
var data: seq[byte]
|
||||
if dataLenVarint.int > 0:
|
||||
data = await conn.read(dataLenVarint.int)
|
||||
|
Loading…
x
Reference in New Issue
Block a user