mirror of
https://github.com/status-im/nim-libp2p.git
synced 2025-02-26 19:40:32 +00:00
revert
This commit is contained in:
parent
a751baeb8b
commit
08bb0104ed
@ -89,7 +89,7 @@ method pushData*(s: BufferStream, data: seq[byte]) {.base, async.} =
|
||||
try:
|
||||
s.pushing = true
|
||||
trace "Pushing data", s, data = data.len
|
||||
discard s.readQueue.addLast(data)
|
||||
await s.readQueue.addLast(data)
|
||||
finally:
|
||||
s.pushing = false
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user