diff --git a/libp2p/stream/bufferstream.nim b/libp2p/stream/bufferstream.nim index 21605f6..39934eb 100644 --- a/libp2p/stream/bufferstream.nim +++ b/libp2p/stream/bufferstream.nim @@ -167,9 +167,6 @@ method pushTo*(s: BufferStream, data: seq[byte]) {.base, async.} = ## is preserved. ## - if s.atEof: - raise newLPStreamEOFError() - if s.atEof: raise newLPStreamEOFError()