From: Chris Duncan Date: Fri, 22 Aug 2025 06:19:01 +0000 (-0700) Subject: Fix error message. X-Git-Tag: v0.10.5~41^2~11 X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=38938b3cc932e82feab74f36f6242b5a8d42a48b;p=libnemo.git Fix error message. --- 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