From 2f85fde5bd47d0d492a4c878d619a9903219b6b2 Mon Sep 17 00:00:00 2001 From: morizon Date: Wed, 8 Jan 2025 15:58:28 +0800 Subject: [PATCH] fix: ada async method (#6460) --- packages/core/src/chains/ada/sdkAda/bip32.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/chains/ada/sdkAda/bip32.ts b/packages/core/src/chains/ada/sdkAda/bip32.ts index 7993922c066..cdf362c7dab 100644 --- a/packages/core/src/chains/ada/sdkAda/bip32.ts +++ b/packages/core/src/chains/ada/sdkAda/bip32.ts @@ -30,7 +30,7 @@ export async function getRootKey( password: string, hdCredential: ICoreHdCredentialEncryptHex, ): Promise { - const mnemonic = mnemonicFromEntropy(hdCredential, password); + const mnemonic: string = await mnemonicFromEntropy(hdCredential, password); const rootKey = await mnemonicToRootKeypair(mnemonic, DERIVATION_SCHEME); return rootKey; }