diff --git a/main.cpp b/main.cpp index c96d4c0..a64766e 100644 --- a/main.cpp +++ b/main.cpp @@ -208,10 +208,10 @@ main(int ac, const char* av[]) string daemon_url {*daemon_url_opt}; - if (testnet && deamon_url == "127.0.0.1:18081") - deamon_url = "127.0.0.1:28081"; - if (stagenet && deamon_url == "127.0.0.1:18081") - deamon_url = "127.0.0.1:38081"; + if (testnet && daemon_url == "127.0.0.1:18081") + daemon_url = "127.0.0.1:28081"; + if (stagenet && daemon_url == "127.0.0.1:18081") + daemon_url = "127.0.0.1:38081"; uint64_t mempool_info_timeout {5000}; diff --git a/src/rpccalls.cpp b/src/rpccalls.cpp index 31d23c5..71c689f 100644 --- a/src/rpccalls.cpp +++ b/src/rpccalls.cpp @@ -22,8 +22,7 @@ rpccalls::rpccalls( timeout_time_ms = std::chrono::milliseconds {timeout_time}; m_http_client.set_server( - deamon_url, - + daemon_url, login, epee::net_utils::ssl_support_t::e_ssl_support_disabled); }