]> git.codecow.com Git - libnemo.git/commitdiff
Fix test.
authorChris Duncan <chris@zoso.dev>
Sat, 2 Aug 2025 20:05:13 +0000 (13:05 -0700)
committerChris Duncan <chris@zoso.dev>
Sat, 2 Aug 2025 20:05:13 +0000 (13:05 -0700)
test/test.import-wallet.mjs

index 2dba8be0a9a21a30a468b1bc5a1fcd268280cc2e..910f957df98a4a6804327e949b7d59f956016c14 100644 (file)
@@ -171,7 +171,7 @@ await Promise.all([
                        await wallet.unlock(NANO_TEST_VECTORS.PASSWORD)\r
                        const walletAccount = await wallet.account()\r
 \r
-                       assert.equal(await wallet.verify(TREZOR_TEST_VECTORS.MNEMONIC_2), false)\r
+                       assert.ok(await wallet.verify(TREZOR_TEST_VECTORS.MNEMONIC_2))\r
                        assert.ok(await wallet.verify(TREZOR_TEST_VECTORS.ENTROPY_2))\r
 \r
                        const imported = await Wallet.import('BLAKE2b', TREZOR_TEST_VECTORS.PASSWORD, TREZOR_TEST_VECTORS.MNEMONIC_2)\r