steem icon indicating copy to clipboard operation
steem copied to clipboard

[cli_wallet] exception: bad_function_call (no default websocket endpoint)

Open Gandalf-the-Grey opened this issue 5 years ago • 5 comments

When you start cli_wallet without explicitly stating -s a.k.a. --server-rpc-endpoint which supposed to have default value ( [=arg(=ws://127.0.0.1:8090)] ) you get a confusing error while trying to use any remote command such as info.

Starting cli_wallet with explicitly stating -sws://127.0.0.1:8090 works fine.

Gandalf-the-Grey avatar Feb 07 '20 20:02 Gandalf-the-Grey

Is this on master?

mvandeberg avatar Feb 07 '20 22:02 mvandeberg

Yes, current master (6412e735)

Gandalf-the-Grey avatar Feb 07 '20 22:02 Gandalf-the-Grey

The behavior is intentional. We added the ability for the wallet to do offline signing. We could change how offline signing is enabled, perhaps with an --offline option that ignores the previous default argument. In your opinion, would that be better UX?

mvandeberg avatar Feb 07 '20 22:02 mvandeberg

I saw that, offline signing is cool. :+1: Yes, keeping default behavior the same + --offline seems more intuitive

Gandalf-the-Grey avatar Feb 07 '20 22:02 Gandalf-the-Grey

Will address this before the SMT release.

mvandeberg avatar Feb 07 '20 22:02 mvandeberg