aboutsummaryrefslogtreecommitdiffstats
path: root/index.ts
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-02-28 15:24:48 -0800
committerAdam Soltys <[email protected]>2026-02-28 15:24:48 -0800
commitcaf1f126d0569670712e26fa2f6ac3127605cd91 (patch)
tree01a5ef46d8bd9d6157a7a1961b803a8f907f4f46 /index.ts
parent32f01e3e328db0006a55c6324625b49d60244b66 (diff)
downloadcoinos-server-caf1f126d0569670712e26fa2f6ac3127605cd91.tar.gz
coinos-server-caf1f126d0569670712e26fa2f6ac3127605cd91.zip
hash pins
Diffstat (limited to 'index.ts')
-rw-r--r--index.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/index.ts b/index.ts
index 15762f26..d40bae55 100644
--- a/index.ts
+++ b/index.ts
@@ -8,6 +8,7 @@ import { fixBolt12, listenForLightning, replay } from "$lib/lightning";
import { startHealthCheck } from "$lib/health";
import { getLocations } from "$lib/locations";
import {
+ hashPins,
migrateAccounts,
migrateAutowithdraw,
migrateBalancesToTB,
@@ -49,6 +50,7 @@ try {
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);
}