'Open Nano app, then click to continue',
async () => wallet.unlock()
)
- const isVerified = await wallet.verify(LEDGER_MNEMONIC)
- // const isVerified = await wallet.verify(LEDGER_NANOS.MNEMONIC)
- const isVerified = await wallet.verify(LEDGER_NANOSP.MNEMONIC)
++ const isVerified = await wallet.verify(LEDGER_NANOS.MNEMONIC)
++ // const isVerified = await wallet.verify(LEDGER_NANOSP.MNEMONIC)
assert.exists(isVerified)
assert.equal(typeof isVerified, 'boolean')
})
await test('verify seed', async () => {
- const isVerified = await wallet.verify(LEDGER_SEED)
- // const isVerified = await wallet.verify(LEDGER_NANOS.SEED)
- const isVerified = await wallet.verify(LEDGER_NANOSP.SEED)
++ const isVerified = await wallet.verify(LEDGER_NANOS.SEED)
++ // const isVerified = await wallet.verify(LEDGER_NANOSP.SEED)
assert.exists(isVerified)
assert.equal(typeof isVerified, 'boolean')
assert.exists(account)
assert.ok(account instanceof Account)
assert.exists(account.publicKey)
- assert.equal(account.publicKey, LEDGER_PUBLIC_0)
- // assert.equal(account.publicKey, LEDGER_NANOS.PUBLIC_0)
- assert.equal(account.publicKey, LEDGER_NANOSP.PUBLIC_0)
++ assert.equal(account.publicKey, LEDGER_NANOS.PUBLIC_0)
++ // assert.equal(account.publicKey, LEDGER_NANOSP.PUBLIC_0)
assert.exists(account.address)
- assert.equal(account.address, LEDGER_ADDRESS_0)
- // assert.equal(account.address, LEDGER_NANOS.ADDRESS_0)
- assert.equal(account.address, LEDGER_NANOSP.ADDRESS_0)
++ assert.equal(account.address, LEDGER_NANOS.ADDRESS_0)
++ // assert.equal(account.address, LEDGER_NANOSP.ADDRESS_0)
})
await test('get second and third accounts', async () => {
assert.exists(restored)
await assert.resolves(restored.unlock())
- assert.equal(await restored.verify(LEDGER_MNEMONIC), true)
- // assert.equal(await restored.verify(LEDGER_NANOS.MNEMONIC), true)
- assert.equal(await restored.verify(LEDGER_NANOSP.MNEMONIC), true)
++ assert.equal(await restored.verify(LEDGER_NANOS.MNEMONIC), true)
++ // assert.equal(await restored.verify(LEDGER_NANOSP.MNEMONIC), true)
await click(
'Click to finish Ledger tests by destroying wallet',