From 38938b3cc932e82feab74f36f6242b5a8d42a48b Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Thu, 21 Aug 2025 23:19:01 -0700 Subject: [PATCH] Fix error message. --- src/lib/account/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/account/index.ts b/src/lib/account/index.ts index b1ae259..889206b 100644 --- a/src/lib/account/index.ts +++ b/src/lib/account/index.ts @@ -98,7 +98,7 @@ export class Account { private constructor (address: string, publicKey: Key, index?: number) { if (!Account.#isInternal) { - throw new Error('Account cannot be instantiated directly. Use `import()` instead.') + throw new Error('Account cannot be instantiated directly. Use `load()` instead.') } Account.#isInternal = false this.#address = address -- 2.47.3