diff --git a/libp2p/readerwriter.nim b/libp2p/readerwriter.nim index 761c944..f084bea 100644 --- a/libp2p/readerwriter.nim +++ b/libp2p/readerwriter.nim @@ -10,6 +10,7 @@ import chronos type ReadWrite* = ref object of RootObj + closed*: bool method read*(s: ReadWrite, n = -1): Future[seq[byte]] {.base, async.} =