From 1e59438f25264e1e593867d107692b8cf9c69a43 Mon Sep 17 00:00:00 2001 From: Kevin Mai-Husan Chia Date: Sat, 31 Aug 2019 22:32:32 +0800 Subject: [PATCH] Update libp2p/network/swarm.py Co-Authored-By: NIC Lin --- libp2p/network/swarm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libp2p/network/swarm.py b/libp2p/network/swarm.py index a8d1003..7517132 100644 --- a/libp2p/network/swarm.py +++ b/libp2p/network/swarm.py @@ -32,7 +32,7 @@ class Swarm(INetwork): upgrader: TransportUpgrader transport: ITransport router: IPeerRouting - # TODO: Connections an `peer_id` are 1-1 mapping in our implementation, + # TODO: Connection and `peer_id` are 1-1 mapping in our implementation, # whereas in Go one `peer_id` may point to multiple connections. connections: Dict[ID, IMuxedConn] listeners: Dict[str, IListener]