From: Chris Duncan Date: Fri, 18 Jul 2025 05:56:56 +0000 (-0700) Subject: Formatting. X-Git-Tag: v0.10.5~56^2~8 X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=1659fe08dd3e82e36c119cd90f305dc2915d698e;p=libnemo.git Formatting. --- 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) {