Fix ping not properly responding

This commit is contained in:
Kevin F 2022-06-05 14:46:13 -05:00
parent 946fdbd06d
commit ac17b53663
1 changed files with 1 additions and 0 deletions

View File

@ -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')