Fix tests

This commit is contained in:
NIC619
2019-12-18 12:37:04 +08:00
parent 19ce8a2140
commit f3732f9480
3 changed files with 12 additions and 10 deletions

View File

@ -719,7 +719,9 @@ class GossipSub(IPubsubRouter):
# Get stream for peer from pubsub
if to_peer not in self.pubsub.peers:
logger.debug("Fail to emit control message to %s: peer disconnected", to_peer)
logger.debug(
"Fail to emit control message to %s: peer disconnected", to_peer
)
return
peer_stream = self.pubsub.peers[to_peer]