Skip to content

Commit

Permalink
Merge pull request #24 from kenshi84/testnet-url
Browse files Browse the repository at this point in the history
avoid overwriting provided testnet daemon url
  • Loading branch information
moneroexamples committed Jan 13, 2017
2 parents 422641f + 14df81e commit 2de181e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2de181e

Please sign in to comment.