Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • hive hive
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 99
    • Issues 99
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 28
    • Merge requests 28
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • hive
  • hivehive
  • Issues
  • #219

Closed
Open
Created Jan 16, 2022 by Gandalf@gandalfMaintainer

[testnet] cli_wallet: list_my_accounts returns error

Using current HEAD of develop How to reproduce: import private key of initminer to the wallet use list_my_accounts command

returns:

10 assert_exception: Assert Exception
var.is_object(): Asset has to be treated as object.
    {}
    asset.cpp:582 from_variant

    {}
    asset.cpp:599 from_variant

expected behavior:

initminer        39976000.000 TESTS        208590.358603 VESTS  7000000.000 TBD
-------------------------------------------------------------------------
TOTAL            39976000.000 TESTS        208590.358603 VESTS  7000000.000 TBD

That's because of a difference in balance representation, i.e.:

"hbd_balance":"7000000.000 TBD"

vs

"hbd_balance":{"amount":"7000000000","precision":3,"nai":"@@000000013"}
Assignee
Assign to
Time tracking