diff options
| author | Adam Soltys <[email protected]> | 2026-03-16 16:35:11 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-03-16 16:37:03 -0700 |
| commit | 8c1385eaf8e68ef0ad436ad9b74e5813e92bb378 (patch) | |
| tree | 16edd2c353a5d435768f901063fa146e97536d83 /index.ts | |
| parent | 4a3d3b676ec7c21077786c7cdd33772385b87a6d (diff) | |
| download | coinos-server-8c1385eaf8e68ef0ad436ad9b74e5813e92bb378.tar.gz coinos-server-8c1385eaf8e68ef0ad436ad9b74e5813e92bb378.zip | |
update migrate script
Diffstat (limited to 'index.ts')
| -rw-r--r-- | index.ts | 14 |
1 files changed, 0 insertions, 14 deletions
@@ -9,14 +9,6 @@ import { fixBolt12, listenForLightning, replay } from "$lib/lightning"; import { l } from "$lib/logging"; import { startHealthCheck } from "$lib/health"; import { getLocations } from "$lib/locations"; -import { - hashPins, - migrateAccounts, - migrateAutowithdraw, - migrateBalancesToTB, - migrateFundsToTB, - migrateToMicrosats, -} from "$lib/migrate"; import nwc from "$lib/nwc"; import { catchUp, check } from "$lib/payments"; import { getFx } from "$lib/rates"; @@ -49,12 +41,6 @@ try { 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`)); - migrateAutowithdraw().then((n) => n && console.log(`Migrated autowithdraw to ${n} accounts`)); - migrateFundsToTB().then((n) => n && console.log(`Migrated ${n} funds to TB`)); - hashPins().then((n) => n && console.log(`Hashed ${n} user PINs`)); } catch (e) { console.log(e); } |
