diff options
| author | Adam Soltys <[email protected]> | 2020-05-26 12:29:03 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2020-05-26 12:29:03 -0700 |
| commit | 31ed2a6c954da2e18a8e1d0e0156fe413365ac87 (patch) | |
| tree | 62514ae77df07687d60fb7784a893b4487880ab9 /lib/sockets.js | |
| parent | 7ea2b4569b5e197881593131c8c519a6dc12b958 (diff) | |
| download | coinos-server-31ed2a6c954da2e18a8e1d0e0156fe413365ac87.tar.gz coinos-server-31ed2a6c954da2e18a8e1d0e0156fe413365ac87.zip | |
address sweep wip
Diffstat (limited to 'lib/sockets.js')
| -rw-r--r-- | lib/sockets.js | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
