From 6be0cb2b5a1e2ee222387aeeed1d99b6123ca82a Mon Sep 17 00:00:00 2001 From: Pedro Ferreira Date: Mon, 5 Jun 2017 00:30:49 +0200 Subject: [PATCH] Fix misnamed variable --- examples/test_server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/test_server.py b/examples/test_server.py index 7ad33a1..4e6721c 100644 --- a/examples/test_server.py +++ b/examples/test_server.py @@ -20,8 +20,8 @@ async def main(): loop = get_event_loop() -client_keypair = SigningKey(b64decode(config['private'][:-8])[:32]) -server = SHSServer('localhost', 8008, client_keypair, loop=loop) +server_keypair = SigningKey(b64decode(config['private'][:-8])[:32]) +server = SHSServer('localhost', 8008, server_keypair, loop=loop) server.on_connect(main) server.listen()