Skip to content

Commit

Permalink
fix(suite-native): add account path index
Browse files Browse the repository at this point in the history
  • Loading branch information
vytick committed Mar 21, 2024
1 parent 3018bc6 commit 7296f1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion suite-native/discovery/src/discoveryThunks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ export const addAndDiscoverNetworkAccountThunk = createThunk(
accountType,
);

const index = accounts.length + 1;
const index = accounts.length;

if (index > LIMIT) {
return undefined;
Expand Down

0 comments on commit 7296f1a

Please sign in to comment.