aboutsummaryrefslogtreecommitdiffstats
path: root/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'index.ts')
-rw-r--r--index.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/index.ts b/index.ts
index 885cbf2e..76340303 100644
--- a/index.ts
+++ b/index.ts
@@ -3,7 +3,7 @@ import { auth, admin, optional } from "$lib/auth";
import { listenForLightning } from "$lib/lightning";
import { getLocations } from "$lib/locations";
-import { catchUp } from "$lib/payments";
+import { catchUp, check} from "$lib/payments";
import { getFx } from "$lib/rates";
import { sendHeartbeat } from "$lib/sockets";
import { fillPool } from "$lib/nostr";
@@ -28,6 +28,7 @@ try {
getFx();
catchUp();
nwc();
+ check();
} catch (e) {
console.log(e);
}