From 1659fe08dd3e82e36c119cd90f305dc2915d698e Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Thu, 17 Jul 2025 22:56:56 -0700 Subject: [PATCH] Formatting. --- src/lib/wallets/wallet.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/lib/wallets/wallet.ts b/src/lib/wallets/wallet.ts index e8f4f6e..2aa4d73 100644 --- a/src/lib/wallets/wallet.ts +++ b/src/lib/wallets/wallet.ts @@ -103,8 +103,10 @@ export abstract class Wallet { if (indexes.length > 0) { const keypairs = await this.ckd(indexes) for (const keypair of keypairs) { - const { privateKey, publicKey, index } = keypair - if (index == null) throw new RangeError('Account keys derived but index missing') + const { index, privateKey, publicKey } = keypair + if (index == null) { + throw new RangeError('Account keys derived but index missing') + } if (privateKey != null) { output[index] = await Account.import(privateKey, this.seed) } else if (publicKey != null) { -- 2.47.3