diff options
| author | Adam Soltys <[email protected]> | 2026-02-24 13:18:42 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-02-24 13:18:42 -0800 |
| commit | ad7b09b43323d0ffc0a8ddabb43e4838a184c697 (patch) | |
| tree | fbf2a59f81771b2938f474c8e7b35a497d2960e4 /lib/migrate.ts | |
| parent | 9e97e040617bfa0b40150c0eba298bf186bbeeaf (diff) | |
| download | coinos-server-ad7b09b43323d0ffc0a8ddabb43e4838a184c697.tar.gz coinos-server-ad7b09b43323d0ffc0a8ddabb43e4838a184c697.zip | |
formatting
Diffstat (limited to 'lib/migrate.ts')
| -rw-r--r-- | lib/migrate.ts | 5 |
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; |
