Remove useless protocol_ids in logging

This commit is contained in:
mhchia
2019-09-19 14:10:50 +08:00
parent 313ae45b45
commit 62b0bc4580

View File

@ -137,11 +137,7 @@ class Swarm(INetwork):
:param protocol_id: protocol id :param protocol_id: protocol id
:return: net stream instance :return: net stream instance
""" """
logger.debug( logger.debug("attempting to open a stream to peer %s", peer_id)
"attempting to open a stream to peer %s, over one of the protocols %s",
peer_id,
protocol_ids,
)
swarm_conn = await self.dial_peer(peer_id) swarm_conn = await self.dial_peer(peer_id)