From 8a52cfa9b08bf85c3219fbf7a60689e18f83679d Mon Sep 17 00:00:00 2001 From: Dmitriy Ryajov Date: Sat, 24 Aug 2019 17:48:01 -0600 Subject: [PATCH] use consistent dispatcher object name --- libp2p/readerwriter.nim | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libp2p/readerwriter.nim b/libp2p/readerwriter.nim index f084bea4f..30e2333e1 100644 --- a/libp2p/readerwriter.nim +++ b/libp2p/readerwriter.nim @@ -32,18 +32,18 @@ method readUntil*(s: ReadWrite, pbytes: pointer, nbytes: int, sep: seq[byte]): F {.base, async.} = discard -method write*(w: ReadWrite, pbytes: pointer, nbytes: int) +method write*(s: ReadWrite, pbytes: pointer, nbytes: int) {.base, async.} = discard -method write*(w: ReadWrite, msg: string, msglen = -1) +method write*(s: ReadWrite, msg: string, msglen = -1) {.base, async.} = discard -method write*(w: ReadWrite, msg: seq[byte], msglen = -1) +method write*(s: ReadWrite, msg: seq[byte], msglen = -1) {.base, async.} = discard -method close*(w: ReadWrite) +method close*(s: ReadWrite) {.base, async.} = discard