]> git.codecow.com Git - libnemo.git/commitdiff
Fix missing wallet in test.
authorChris Duncan <chris@zoso.dev>
Wed, 3 Sep 2025 05:45:30 +0000 (22:45 -0700)
committerChris Duncan <chris@zoso.dev>
Wed, 3 Sep 2025 05:45:30 +0000 (22:45 -0700)
test/test.ledger.mjs

index 8a8804486b3c78e88f43341bbe7bf7056bec65c7..a8fcee7edbb069d4e6ddd31d73205589401874db 100644 (file)
@@ -189,7 +189,7 @@ await Promise.all([
                await test('fail to sign a block without caching frontier', async () => {
                        sendBlock = new Block(account, receiveBlock.balance, receiveBlock.hash, SEND_BLOCK.representative)
                                .send(account.address, '0')
-                       await assert.rejects(sendBlock.sign(0))
+                       await assert.rejects(sendBlock.sign(wallet, 0))
                })
        })
        /* node:coverage enable */