xeroc / piston-cli

Command line tool to interact with the STEEM network
MIT License
74 stars 33 forks source link

Can't set default node by piston set node #92

Open AlekseiSmirnov opened 7 years ago

AlekseiSmirnov commented 7 years ago

I use piston to work with golos and recently faced the following problem: I want to set default api node by

piston set node wss://ws.golos.io

Then when I try to get balance

piston balance golos

piston still tries connecting to wss://golos.steem.ws

Lost connection to node during wsconnect(): wss://golos.steem.ws (2/-1) Retrying in 2 seconds

Moreover, there is a small typo in a help message

No connection to wss://golos.steem.ws could be established! Please try again later, or select another node via: piston node wss://example.com

I think the word set is missed there