From 57174f828540af75e586663f1a5df3eb301e0936 Mon Sep 17 00:00:00 2001 From: Yoojin Ko Date: Tue, 12 Sep 2023 15:19:03 +0900 Subject: [PATCH] fix: error msg --- src/modules/moduleBase.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/moduleBase.ts b/src/modules/moduleBase.ts index a564d6b..163d948 100644 --- a/src/modules/moduleBase.ts +++ b/src/modules/moduleBase.ts @@ -24,7 +24,7 @@ export default class ModuleBase { protected getDefaultAccount() { const defaultAccount = this.ain.wallet.defaultAccount; if (!defaultAccount) - throw new Error("You need to initialize ainize with private key."); + throw new Error("You need to set default account."); return defaultAccount; }