Skip to content

Commit

Permalink
update to use array for addrs
Browse files Browse the repository at this point in the history
  • Loading branch information
netbonus committed Aug 5, 2024
1 parent 83dc9a9 commit 2a92bd8
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions src/__test__/e2e/bug.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
/* eslint-disable quotes */
import { question } from 'readline-sync';
import { fetchAddressesByDerivationPath, pair } from '../../api';
import { fetchAddresses, pair } from '../../api';
import { setupClient } from '../utils/setup';
import { HARDENED_OFFSET } from '../../constants';

describe('bug', () => {
test('pair', async () => {
Expand All @@ -13,6 +14,14 @@ describe('bug', () => {
});

test('fetch cosmos', async () => {
await fetchAddressesByDerivationPath(`1852'/1815'/0'/0/0`);
await fetchAddresses({
startPath: [
HARDENED_OFFSET + 1852,
HARDENED_OFFSET + 1815,
HARDENED_OFFSET,
0,
0,
],
});
});
});

0 comments on commit 2a92bd8

Please sign in to comment.