aboutsummaryrefslogtreecommitdiffstats
path: root/lib/migrate.ts
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-02-24 13:18:42 -0800
committerAdam Soltys <[email protected]>2026-02-24 13:18:42 -0800
commitad7b09b43323d0ffc0a8ddabb43e4838a184c697 (patch)
treefbf2a59f81771b2938f474c8e7b35a497d2960e4 /lib/migrate.ts
parent9e97e040617bfa0b40150c0eba298bf186bbeeaf (diff)
downloadcoinos-server-ad7b09b43323d0ffc0a8ddabb43e4838a184c697.tar.gz
coinos-server-ad7b09b43323d0ffc0a8ddabb43e4838a184c697.zip
formatting
Diffstat (limited to 'lib/migrate.ts')
-rw-r--r--lib/migrate.ts5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/migrate.ts b/lib/migrate.ts
index d4bfd61a..e3cfa9bc 100644
--- a/lib/migrate.ts
+++ b/lib/migrate.ts
@@ -40,10 +40,7 @@ export const migrateAccounts = async () => {
account.pubkey = parsed.pubkey;
account.fingerprint = parsed.fingerprint;
try {
- account.nextIndex = await findLastUsedIndex(
- parsed.pubkey,
- parsed.fingerprint,
- );
+ account.nextIndex = await findLastUsedIndex(parsed.pubkey, parsed.fingerprint);
} catch (e) {
warn("account migration index scan skipped", key, e.message);
account.nextIndex = account.nextIndex || 0;