From b1e3435613ef092d43353d511b632a8de64efc5d Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 18 Feb 2026 07:49:25 -0800 Subject: migrate funds to tb --- index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'index.ts') diff --git a/index.ts b/index.ts index c5c6b398..391dfaef 100644 --- a/index.ts +++ b/index.ts @@ -4,7 +4,7 @@ import { admin, auth, optional } from "$lib/auth"; import { fixBolt12, listenForLightning, replay } from "$lib/lightning"; import { startHealthCheck } from "$lib/health"; import { getLocations } from "$lib/locations"; -import { migrateAccounts, migrateAutowithdraw, migrateBalancesToTB, migrateToMicrosats } from "$lib/migrate"; +import { migrateAccounts, migrateAutowithdraw, migrateBalancesToTB, migrateFundsToTB, migrateToMicrosats } from "$lib/migrate"; import nwc from "$lib/nwc"; import { catchUp, check } from "$lib/payments"; import { getFx } from "$lib/rates"; @@ -39,6 +39,7 @@ try { migrateBalancesToTB().then((n) => n && console.log(`Migrated ${n} balances to TB`)); migrateToMicrosats().then((n) => n && console.log(`Migrated ${n} users to microsats`)); migrateAutowithdraw().then((n) => n && console.log(`Migrated autowithdraw to ${n} accounts`)); + migrateFundsToTB().then((n) => n && console.log(`Migrated ${n} funds to TB`)); } catch (e) { console.log(e); } -- cgit v1.2.3