Skip to content

Commit

Permalink
fix: error msg
Browse files Browse the repository at this point in the history
  • Loading branch information
yoojinko committed Sep 12, 2023
1 parent 6a2f101 commit 57174f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/moduleBase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 57174f8

Please sign in to comment.