From c59849589a1c186fc471873cfce7ce7a877a991c Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Wed, 16 Jul 2025 17:19:44 -0700 Subject: [PATCH] Fix block signing tests. --- test/test.tools.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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', -- 2.47.3