3a42d72cd9
In `Pubsub.continuously_read_stream`, it checks whether this is a control message enclosed in RPC message with `if rpc_incoming.control:`. However, in pb2, the condition is always true because a default value is returned when a field is not set. Solved it by changing it to `if rpc_incoming.HasField("control"):`. |
||
---|---|---|
.. | ||
pb | ||
__init__.py | ||
floodsub.py | ||
gossipsub.py | ||
mcache.py | ||
pubsub_notifee.py | ||
pubsub_router_interface.py | ||
pubsub.py |