Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • H hivemind
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 61
    • Issues 61
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 18
    • Merge requests 18
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • hive
  • hivemind
  • Issues
  • #150
Closed
Open
Created Mar 08, 2021 by arcange@arcangeDeveloper

API methods lookup_accounts and lookup_account_names are confusing

condenser_api.lookup_accounts returns an array of account names
condenser_api.lookup_accounts_names returns an array of account objects
condenser_api.lookup_witness_accounts also return an array of account names, not objects

One can expect the reverse result and the method names are really confusing.

My guess is that we can't change method names without breaking apps out there, but I still want to draw your attention to it.
At least, the documentation should draw attention and clearly state what kind of data is being returned (@inertia).

Assignee
Assign to
Time tracking