diff options
| author | Adam Soltys <[email protected]> | 2023-12-04 22:29:23 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-12-05 08:23:38 -0800 |
| commit | e98ca84881152632a2e06e4376408c204644f3ad (patch) | |
| tree | 3d461bb56b7cbce9d65931816c9c61eb09e55c73 /lib/rates.js | |
| parent | ece2e424fb00a5480b1cf0630ee6c237ec1c170a (diff) | |
| download | coinos-server-e98ca84881152632a2e06e4376408c204644f3ad.tar.gz coinos-server-e98ca84881152632a2e06e4376408c204644f3ad.zip | |
stop sending rates
Diffstat (limited to 'lib/rates.js')
| -rw-r--r-- | lib/rates.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/rates.js b/lib/rates.js index 2fce4f42..a392c913 100644 --- a/lib/rates.js +++ b/lib/rates.js @@ -1,6 +1,5 @@ import got from "got"; import config from "$config"; -import { broadcast } from "$lib/sockets"; import store from "$lib/store"; import { err, warn } from "$lib/logging"; import { g, s } from "$lib/db"; @@ -38,7 +37,6 @@ let connect = async () => { return ws; }; -export let sendRates = () => broadcast("rate", store.last); export let getRates = async () => { connect(); |
