]> zoso.dev Git - libnemo.git/commitdiff
Fix failing test due to locked test wallet.
authorChris Duncan <chris@zoso.dev>
Mon, 7 Oct 2024 19:44:53 +0000 (12:44 -0700)
committerChris Duncan <chris@zoso.dev>
Mon, 7 Oct 2024 19:44:53 +0000 (12:44 -0700)
test/refresh-accounts.test.mjs

index 1226e03e7384b31885c347da13db87c8ba52b322..7767b4c49ed2f115a97e07a431befc9942114bd0 100644 (file)
@@ -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