Skip to content

Fix typo: acountIndex → accountIndex in ledger utils#3575

Closed
Copilot wants to merge 2 commits intocp-13334from
copilot/sub-pr-3571-again
Closed

Fix typo: acountIndex → accountIndex in ledger utils#3575
Copilot wants to merge 2 commits intocp-13334from
copilot/sub-pr-3571-again

Conversation

Copy link

Copilot AI commented Feb 12, 2026

Description

Ticket: CP-13334

Corrects spelling error in getOppositeKeys function parameter name.

Changes:

  • Renamed acountIndexaccountIndex in function signature and all usage sites
export const getOppositeKeys = async ({
  accountIndex = 0,  // was: acountIndex
  isDeveloperMode
}: {
  accountIndex?: number  // was: acountIndex
  isDeveloperMode: boolean
}): Promise<{...}> => {
  const avalancheKeys = await LedgerService.getAvalancheKeys(
    accountIndex,  // was: acountIndex
    !isDeveloperMode
  )
  const { bitcoinAddress } = await LedgerService.getBitcoinAndXPAddresses(
    accountIndex,  // was: acountIndex
    !isDeveloperMode
  )
  // ...
}

Screenshots/Videos

N/A - No UI changes

Testing

Dev Testing (if applicable)

No testing required - typo fix only

QA Testing (if applicable)

No QA testing required

Checklist

Please check all that apply (if applicable)

  • I have performed a self-review of my code
  • I have verified the code works
  • I have included screenshots / videos of android and ios
  • I have added testing steps
  • I have added/updated necessary unit tests
  • I have updated the documentation

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: ruijialin-avalabs <137183702+ruijialin-avalabs@users.noreply.github.com>
Copilot AI changed the title [WIP] WIP Address feedback on CP-13334 for add ledger account Fix typo: acountIndex → accountIndex in ledger utils Feb 12, 2026
Copilot stopped work on behalf of ruijialin-avalabs due to an error February 12, 2026 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants