fix tests

This commit is contained in:
Dmitriy Ryajov 2022-03-14 18:11:38 -06:00
parent 8990171e6c
commit 42d222bbc2
No known key found for this signature in database
GPG Key ID: DA8C680CE7C657A4

View File

@ -112,7 +112,7 @@ suite "Test Node":
var data: seq[byte]
while true:
var
buf = newSeq[byte](FileChunkSize)
buf = newSeq[byte](BlockSize)
res = await stream.readOnce(addr buf[0], buf.len)
if res <= 0: