Merge pull request #24 from kenshi84/testnet-url

avoid overwriting provided testnet daemon url
This commit is contained in:
moneroexamples 2017-01-12 23:39:51 -08:00 committed by GitHub
commit 2de181eddb
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ int main(int ac, const char* av[]) {
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";
// create instance of page class which