Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: index error
  • Loading branch information
ByteZhang1024 committed Aug 26, 2025
commit a6219080ff4ab7f4cbd62e2c95c8f407ce10b92a
4 changes: 2 additions & 2 deletions packages/keyring-eth-onekey/src/onekey-keyring.ts
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ export class OneKeyKeyring extends EventEmitter {
}
if (!this.accountDetails[address]) {
this.accountDetails[address] = {
index: from + i,
index: i,
hdPath,
passphraseState: this.passphraseState,
};
Expand Down Expand Up @@ -605,7 +605,7 @@ export class OneKeyKeyring extends EventEmitter {
throw new Error('Unknown error');
}
accounts.push({
index: from + i,
index: i,
address,
balance: null,
});
Expand Down
Loading