diff --git a/libp2p/muxers/mplex/mplex.nim b/libp2p/muxers/mplex/mplex.nim index 60662c0f8..c3428df12 100644 --- a/libp2p/muxers/mplex/mplex.nim +++ b/libp2p/muxers/mplex/mplex.nim @@ -75,7 +75,7 @@ method handle*(m: Mplex) {.async, gcsafe.} = of MessageType.New: let name = cast[string](data) channel = await m.newStreamInternal(false, id, name) - # debug "handle: created channel ", id = id, name = name + debug "handle: created channel ", id = id, name = name if not isNil(m.streamHandler): let handlerFut = m.streamHandler(newConnection(channel)) diff --git a/tests/testmplex.nim b/tests/testmplex.nim index 6899b6f0f..5d7c0db4c 100644 --- a/tests/testmplex.nim +++ b/tests/testmplex.nim @@ -250,8 +250,6 @@ suite "Mplex": await stream.close() await conn.close() - listenFut.complete() - dialFut.complete() result = true check: diff --git a/tests/testswitch.nim b/tests/testswitch.nim index 5fa1df897..4eff82946 100644 --- a/tests/testswitch.nim +++ b/tests/testswitch.nim @@ -64,7 +64,6 @@ suite "Switch": (switch2, peerInfo2) = createSwitch(ma2) await switch2.start() let conn = await switch2.dial(peerInfo1, TestCodec) - debug "TEST SWITCH: dial succesful" await conn.writeLp("Hello!") let msg = cast[string](await conn.readLp()) check "Hello!" == msg