[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"}