diff --git a/libp2p/pubsub/pubsub.py b/libp2p/pubsub/pubsub.py index e0f6580f..3e8f74c9 100644 --- a/libp2p/pubsub/pubsub.py +++ b/libp2p/pubsub/pubsub.py @@ -107,8 +107,7 @@ class Pubsub(): # to know that it is subscribed to the topic (doesn't # need everyone to know) for message in rpc_incoming.subscriptions: - if message.subscribe: - self.handle_subscription(peer_id, message) + self.handle_subscription(peer_id, message) if should_publish: # relay message to peers with router