From: Chris Duncan Date: Wed, 3 Sep 2025 05:45:30 +0000 (-0700) Subject: Fix missing wallet in test. X-Git-Tag: v0.10.5~35^2~4 X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=3a56f97377ff28433659bc69e25e410de3bc4825;p=libnemo.git Fix missing wallet in test. --- diff --git a/test/test.ledger.mjs b/test/test.ledger.mjs index 8a88044..a8fcee7 100644 --- a/test/test.ledger.mjs +++ b/test/test.ledger.mjs @@ -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 */