From: Chris Duncan Date: Thu, 17 Jul 2025 00:19:44 +0000 (-0700) Subject: Fix block signing tests. X-Git-Tag: v0.10.5~56^2~25 X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=c59849589a1c186fc471873cfce7ce7a877a991c;p=libnemo.git Fix block signing tests. --- diff --git a/test/test.tools.mjs b/test/test.tools.mjs index 695f5b4..c31f962 100644 --- a/test/test.tools.mjs +++ b/test/test.tools.mjs @@ -105,7 +105,7 @@ await suite('signature tests', async () => { const wallet = await Bip44Wallet.fromSeed(NANO_TEST_VECTORS.PASSWORD, NANO_TEST_VECTORS.BIP39_SEED) await wallet.unlock(NANO_TEST_VECTORS.PASSWORD) const account = await wallet.account() - const privateKey = await account.exportPrivateKey(wallet.seed) + const privateKey = await account.exportPrivateKey(wallet.seed, 'hex') const sendBlock = new SendBlock( account.address, '5618869000000000000000000000000', @@ -125,7 +125,7 @@ await suite('signature tests', async () => { const wallet = await Bip44Wallet.fromSeed(NANO_TEST_VECTORS.PASSWORD, NANO_TEST_VECTORS.BIP39_SEED) await wallet.unlock(NANO_TEST_VECTORS.PASSWORD) const account = await wallet.account() - const privateKey = await account.exportPrivateKey(wallet.seed) + const privateKey = await account.exportPrivateKey(wallet.seed, 'hex') const sendBlock = new SendBlock( account.address, '5618869000000000000000000000000',