Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cli_wallet Invalid cast from object_type to string error #2988

Closed
readmagic opened this issue Sep 28, 2018 · 0 comments
Closed

cli_wallet Invalid cast from object_type to string error #2988

readmagic opened this issue Sep 28, 2018 · 0 comments

Comments

@readmagic
Copy link

@readmagic readmagic commented Sep 28, 2018

When I use command

transfer initminer alice {"amount":"100000", "precision":3, "nai":"@@000000021"} "hello world" true

return

7 bad_cast_exception: Bad Cast
Invalid cast from object_type to string
    {"type":"object_type"}
    variant.cpp:478 as_string

I have compare with bitshares project.That project's wallet Api don't use complex class.
like this method.

condenser_api::legacy_signed_transaction wallet_api::transfer(
   string from,
   string to,
   condenser_api::legacy_asset amount,
   string memo,
   bool broadcast )

amount is object_type,but in variant.cpp:478 not dealwith this type.
I'm run in develop branch.

@readmagic readmagic closed this Apr 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.