From 542cf1d084d189bcdf127c9c2359cced5267295e Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Fri, 13 Feb 2026 14:14:02 -0800 Subject: fix onchain confirmations --- index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'index.ts') diff --git a/index.ts b/index.ts index c626a961..507e62f4 100644 --- a/index.ts +++ b/index.ts @@ -6,7 +6,7 @@ import { startHealthCheck } from "$lib/health"; import { getLocations } from "$lib/locations"; import { migrateAccounts, migrateBalancesToTB, migrateToMicrosats } from "$lib/migrate"; import nwc from "$lib/nwc"; -import { check } from "$lib/payments"; +import { catchUp, check } from "$lib/payments"; import { getFx } from "$lib/rates"; import { sendHeartbeat } from "$lib/sockets"; import { initTigerBeetle } from "$lib/tb"; @@ -34,6 +34,7 @@ try { check(); startHealthCheck(); startZmq(); + catchUp(); migrateAccounts().then((n) => n && console.log(`Migrated ${n} accounts`)); migrateBalancesToTB().then((n) => n && console.log(`Migrated ${n} balances to TB`)); migrateToMicrosats().then((n) => n && console.log(`Migrated ${n} users to microsats`)); -- cgit v1.2.3