From ac17b53663b6ba2c934397430401929b9e562441 Mon Sep 17 00:00:00 2001 From: Kevin F Date: Sun, 5 Jun 2022 14:46:13 -0500 Subject: [PATCH] Fix ping not properly responding --- src/gossip/server/__init__.py | 1 + 1 file changed, 1 insertion(+) 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')