]> git.codecow.com Git - libnemo.git/commitdiff
Fix updated schema for test.
authorChris Duncan <chris@zoso.dev>
Sun, 27 Jul 2025 09:21:18 +0000 (02:21 -0700)
committerChris Duncan <chris@zoso.dev>
Sun, 27 Jul 2025 09:21:18 +0000 (02:21 -0700)
test/test.import-wallet.mjs

index 59f5fafe933e2d80976090c31f5b0536e01e34f7..a7b5dfd361b556d5ac9b95170dbfd16341e8c360 100644 (file)
@@ -306,7 +306,7 @@ await Promise.all([
                        const wallet = await Bip44Wallet.fromMnemonic(NANO_TEST_VECTORS.PASSWORD, NANO_TEST_VECTORS.MNEMONIC, NANO_TEST_VECTORS.PASSWORD)\r
                        const ids = await Bip44Wallet.export()\r
 \r
-                       assert.ok(ids.some(id => id === wallet.id))\r
+                       assert.ok(ids['BIP-44'].some(id => `BIP-44_${id}` === wallet.id))\r
 \r
                        const restored = await Bip44Wallet.restore(wallet.id)\r
 \r