From: Chris Duncan Date: Mon, 7 Oct 2024 19:44:53 +0000 (-0700) Subject: Fix failing test due to locked test wallet. X-Git-Tag: v0.0.2~2 X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=f2c1bdfd38d6d4124b2e73844a370f8d56e6bcd4;p=libnemo.git Fix failing test due to locked test wallet. --- diff --git a/test/refresh-accounts.test.mjs b/test/refresh-accounts.test.mjs index 1226e03..7767b4c 100644 --- a/test/refresh-accounts.test.mjs +++ b/test/refresh-accounts.test.mjs @@ -12,6 +12,7 @@ import { NANO_TEST_VECTORS } from './TEST_VECTORS.js' // Test vectors from https://docs.nano.org/integration-guides/key-management/ and elsewhere const wallet = await Bip44Wallet.fromSeed(NANO_TEST_VECTORS.PASSWORD, NANO_TEST_VECTORS.BIP39_SEED) +await wallet.unlock(NANO_TEST_VECTORS.PASSWORD) const node = new Node(process.env.NODE_URL, process.env.API_KEY_NAME, process.env.API_KEY_VALUE) const skip = true