From 31ed2a6c954da2e18a8e1d0e0156fe413365ac87 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Tue, 26 May 2020 12:29:03 -0700 Subject: address sweep wip --- lib/sockets.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/sockets.js b/lib/sockets.js index cc6da34c..e297703b 100644 --- a/lib/sockets.js +++ b/lib/sockets.js @@ -48,7 +48,7 @@ wss.on("connection", function (ws, req) { names[id] = username; ws.ok = true; - ws.send(JSON.stringify({ type: "networks", data: networks })); + ws.send(JSON.stringify({ type: "nodes", data: networks })); ws.send(JSON.stringify({ type: "rates", data: app.get("rates") })); ws.send(JSON.stringify({ type: "login", data: await getUser(username) })); l.info("socket open", username, id); -- cgit v1.2.3