master
moneroexamples 2 years ago
parent 296836b639
commit b889c84cee

@ -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};

@ -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);
}

Loading…
Cancel
Save