diff --git a/libp2p/protocols/pubsub/pubsub.nim b/libp2p/protocols/pubsub/pubsub.nim index cc52b1f97..77955d570 100644 --- a/libp2p/protocols/pubsub/pubsub.nim +++ b/libp2p/protocols/pubsub/pubsub.nim @@ -153,7 +153,7 @@ method handleConn*(p: PubSub, peer.handler = handler await peer.handle(conn) # spawn peer read loop trace "pubsub peer handler ended, cleaning up" - await p.internalClenaup(conn) + await p.internalCleanup(conn) except CatchableError as exc: trace "exception ocurred in pubsub handle", exc = exc.msg