diff --git a/src/gossip/server/__init__.py b/src/gossip/server/__init__.py index 1f283e56..f4c32749 100644 --- a/src/gossip/server/__init__.py +++ b/src/gossip/server/__init__.py @@ -60,6 +60,7 @@ def gossip_server(): match GossipCommands(cmd): case GossipCommands.PING: writer.write(b'PONG') + break case GossipCommands.ANNOUNCE: async def _read_announce(): address = await reader.readuntil(b'\n')