From e98ca84881152632a2e06e4376408c204644f3ad Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Mon, 4 Dec 2023 22:29:23 -0800 Subject: stop sending rates --- index.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'index.js') diff --git a/index.js b/index.js index a72a9da6..9888f7d2 100644 --- a/index.js +++ b/index.js @@ -4,7 +4,7 @@ import { auth, optional } from "$lib/auth"; import { fillPool } from "$lib/nostr"; import { listenForLightning } from "$lib/lightning"; import { getLocations } from "$lib/locations"; -import { getRates, sendRates } from "$lib/rates"; +import { getRates } from "$lib/rates"; import { sendHeartbeat } from "$lib/sockets"; import { err } from "$lib/logging"; @@ -29,8 +29,6 @@ try { } setTimeout(listenForLightning, 2000); - -setInterval(sendRates, 1000); setInterval(sendHeartbeat, 2000); app.get("/balances", info.balances); -- cgit v1.2.3