avoid overwriting provided testnet daemon url

This commit is contained in:
kenshi84 2017-01-13 15:05:39 +09:00
parent 68cc814b30
commit 14df81eb9d

View file

@ -142,7 +142,7 @@ int main(int ac, const char* av[]) {
string deamon_url {*deamon_url_opt}; string deamon_url {*deamon_url_opt};
if (testnet) if (testnet && deamon_url == "http:://127.0.0.1:18081")
deamon_url = "http:://127.0.0.1:28081"; deamon_url = "http:://127.0.0.1:28081";
// create instance of page class which // create instance of page class which