diff --git a/packages/crypto/src/Bip32/Bip32PrivateKey.ts b/packages/crypto/src/Bip32/Bip32PrivateKey.ts index e7fb45c7a9f..764b14f17f4 100644 --- a/packages/crypto/src/Bip32/Bip32PrivateKey.ts +++ b/packages/crypto/src/Bip32/Bip32PrivateKey.ts @@ -2,7 +2,7 @@ import * as Bip32KeyDerivation from './Bip32KeyDerivation'; import { Bip32PrivateKeyHex } from '../hexTypes'; import { Bip32PublicKey } from './Bip32PublicKey'; -import { EXTENDED_ED25519_PRIVATE_KEY_LENGTH, Ed25519PrivateKey, NORMAL_ED25519_PRIVATE_KEY_LENGTH } from '../Ed25519e'; +import { EXTENDED_ED25519_PRIVATE_KEY_LENGTH, Ed25519PrivateKey } from '../Ed25519e'; import { InvalidArgumentError } from '@cardano-sdk/util'; import { crypto_scalarmult_ed25519_base_noclamp, ready } from 'libsodium-wrappers-sumo'; import { pbkdf2 } from 'pbkdf2'; @@ -97,7 +97,7 @@ export class Bip32PrivateKey { if (key.length !== BIP32_ED25519_PRIVATE_KEY_LENGTH) throw new InvalidArgumentError( 'key', - `Key should be ${NORMAL_ED25519_PRIVATE_KEY_LENGTH} bytes; however ${key.length} bytes were provided.` + `Key should be ${BIP32_ED25519_PRIVATE_KEY_LENGTH} bytes; however ${key.length} bytes were provided.` ); return new Bip32PrivateKey(key); }