eos
eos copied to clipboard
Cleos launches keosd on port 8888 regardless of wallet url
When using cleos with the wallet-url option, cleos will implicitly launch keosd on port 8888 regardless of the port used in the option. This is happening because the code in cleos/main.cpp is checking the wallet_url variable before app.parse() is called and the options are processed. This means it always uses the default wallet URL and checks to see if it can connect to localhost:8888. If nothing is listening on that port it launches keosd. The actual operation uses the wallet URL from the option.
This is now working properly.