Fix extra white space

This commit is contained in:
NIC619 2019-12-19 23:07:20 +08:00
parent cb80cfc50b
commit 3c75c85d7f
No known key found for this signature in database
GPG Key ID: 570C35F5C2D51B17

View File

@ -121,7 +121,7 @@ class GossipSub(IPubsubRouter):
# instance in multistream-select, but it is not the protocol that gossipsub supports.
# In this case, probably we registered gossipsub to a wrong `protocol_id`
# in multistream-select, or wrong versions.
raise ValueError(f"Protocol={protocol_id} is not supported.")
raise ValueError(f"Protocol={protocol_id} is not supported.")
self.peer_protocol[peer_id] = protocol_id
def remove_peer(self, peer_id: ID) -> None: