From 55b9d94bd296d4be2fa20359462b2e932b57a9bc Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Tue, 19 Aug 2025 05:50:52 -0700 Subject: [PATCH] Fix error message typo. --- src/lib/wallet/accounts.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/wallet/accounts.ts b/src/lib/wallet/accounts.ts index 7e0f77f..84ab89b 100644 --- a/src/lib/wallet/accounts.ts +++ b/src/lib/wallet/accounts.ts @@ -8,7 +8,7 @@ import { KeyPair } from '#types' export async function _accounts (accounts: AccountList, vault: Vault, from: number, to: number): Promise export async function _accounts (accounts: AccountList, vault: Vault, from: unknown, to: unknown): Promise { if (typeof from !== 'number' || typeof to !== 'number') { - throw new TypeError('Invalid account range', { cause: `${to}-${from}` }) + throw new TypeError('Invalid account range', { cause: `${from}-${to}` }) } if (from > to) [from as number, to as number] = [to, from] const output = new AccountList() -- 2.47.3