diff options
| author | Adam Soltys <[email protected]> | 2026-02-28 15:24:48 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-02-28 15:24:48 -0800 |
| commit | caf1f126d0569670712e26fa2f6ac3127605cd91 (patch) | |
| tree | 01a5ef46d8bd9d6157a7a1961b803a8f907f4f46 /index.ts | |
| parent | 32f01e3e328db0006a55c6324625b49d60244b66 (diff) | |
| download | coinos-server-caf1f126d0569670712e26fa2f6ac3127605cd91.tar.gz coinos-server-caf1f126d0569670712e26fa2f6ac3127605cd91.zip | |
hash pins
Diffstat (limited to 'index.ts')
| -rw-r--r-- | index.ts | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); } |
