From caf1f126d0569670712e26fa2f6ac3127605cd91 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sat, 28 Feb 2026 15:24:48 -0800 Subject: hash pins --- index.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'index.ts') 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); } -- cgit v1.2.3