Skip to content

Commit 2b0cbad

Browse files
committed
chore: fix misleading error message
1 parent cd47082 commit 2b0cbad

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/cash-account-service/src/CashAccountService.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,7 @@ export class CashAccountService {
3535
{ id: entropySource },
3636
async ({ keyring }) => {
3737
if (keyring.type !== HdKeyring.type) {
38-
throw new Error(
39-
'HD keyring not have a mnemonic for the given entropy source.',
40-
);
38+
throw new Error('Got keyring without HD Keyring type');
4139
}
4240
const hdKeyring = keyring as HdKeyring;
4341

0 commit comments

Comments
 (0)