diff options
| author | Adam Soltys <[email protected]> | 2026-02-13 14:14:02 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-02-13 14:14:02 -0800 |
| commit | 542cf1d084d189bcdf127c9c2359cced5267295e (patch) | |
| tree | d9774ea67ae174b83a6e654eced1c10c9e3559a7 /index.ts | |
| parent | 6de76d3a76f8b91b0ffa88bf175bb821234e84bd (diff) | |
| download | coinos-server-542cf1d084d189bcdf127c9c2359cced5267295e.tar.gz coinos-server-542cf1d084d189bcdf127c9c2359cced5267295e.zip | |
fix onchain confirmations
Diffstat (limited to 'index.ts')
| -rw-r--r-- | index.ts | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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`)); |
