\r
await test('fail to sign open block with wallet when locked', async () => {\r
const wallet = await Wallet.import('BIP-44', PASSWORD, BIP39_SEED)\r
- const block = new Block(OPEN_BLOCK.account, '0', OPEN_BLOCK.previous, OPEN_BLOCK.representative)\r
+ const block = new Block(ADDRESS_0, '0', OPEN_BLOCK.previous, OPEN_BLOCK.representative)\r
.receive(OPEN_BLOCK.link, OPEN_BLOCK.balance)\r
\r
await assert.rejects(wallet.sign(0, block))\r
- assert.equal(block.hash, OPEN_BLOCK.hash)\r
assert.ok(block.signature === undefined)\r
\r
await wallet.destroy()\r