commit 9d595f1fe144dcd8b5017988a7b60ad53487b7bc
parent 94e7e94e2f120e597f2271b79a3511a5ebc465e2
Author: ThomasV <thomasv@electrum.org>
Date: Thu, 5 Sep 2019 11:45:28 +0200
fix websocket messages
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/electrum/daemon.py b/electrum/daemon.py
@@ -241,11 +241,11 @@ class HttpServer(Logger):
await ws.close()
return ws
if info.get('status') == PR_PAID:
- await ws.send_str(f'already paid')
+ await ws.send_str(f'paid')
await ws.close()
return ws
if info.get('status') == PR_EXPIRED:
- await ws.send_str(f'invoice expired')
+ await ws.send_str(f'expired')
await ws.close()
return ws
while True: