await test('should get balance, frontier, and representative for multiple accounts', async () => {
const wallet = await Wallet.load('BIP-44', TEST_PASSWORD, NANO_TEST_VECTORS.BIP39_SEED)
await wallet.unlock(TEST_PASSWORD)
- const accounts = await wallet.refresh(rpc, 0, 2)
+ const accounts = await wallet.refresh(rpc, 0, 3)
assert.equal(accounts.size, 3)
- for (let i = 0; i < 2; i++) {
+ for (let i = 0; i < 3; i++) {
const account = accounts.get(i)
assert.exists(account)
assert.ok(account instanceof Account)