From 14df81eb9d8c0c0d7c530135bef5ef421f99d8e9 Mon Sep 17 00:00:00 2001 From: kenshi84 Date: Fri, 13 Jan 2017 15:05:39 +0900 Subject: [PATCH] avoid overwriting provided testnet daemon url --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index 26bf18a..d7b0cea 100644 --- a/main.cpp +++ b/main.cpp @@ -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