Correct misspelling of "daemon" for "daemon-url"

Just a simple fix, as "daemon" was misspelled "deamon", even in the flag/arg.
master
Seth For Privacy 3 years ago committed by GitHub
parent 35409aca22
commit a3e57af718
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -56,7 +56,7 @@ main(int ac, const char* av[])
auto port_opt = opts.get_option<string>("port"); auto port_opt = opts.get_option<string>("port");
auto bindaddr_opt = opts.get_option<string>("bindaddr"); auto bindaddr_opt = opts.get_option<string>("bindaddr");
auto bc_path_opt = opts.get_option<string>("bc-path"); auto bc_path_opt = opts.get_option<string>("bc-path");
auto deamon_url_opt = opts.get_option<string>("deamon-url"); auto daemon_url_opt = opts.get_option<string>("daemon-url");
auto ssl_crt_file_opt = opts.get_option<string>("ssl-crt-file"); auto ssl_crt_file_opt = opts.get_option<string>("ssl-crt-file");
auto ssl_key_file_opt = opts.get_option<string>("ssl-key-file"); auto ssl_key_file_opt = opts.get_option<string>("ssl-key-file");
auto no_blocks_on_index_opt = opts.get_option<string>("no-blocks-on-index"); auto no_blocks_on_index_opt = opts.get_option<string>("no-blocks-on-index");
@ -205,12 +205,12 @@ main(int ac, const char* av[])
return EXIT_FAILURE; return EXIT_FAILURE;
} }
string deamon_url {*deamon_url_opt}; string daemon_url {*daemon_url_opt};
if (testnet && deamon_url == "http:://127.0.0.1:18081") if (testnet && daemon_url == "http:://127.0.0.1:18081")
deamon_url = "http:://127.0.0.1:28081"; daemon_url = "http:://127.0.0.1:28081";
if (stagenet && deamon_url == "http:://127.0.0.1:18081") if (stagenet && daemon_url == "http:://127.0.0.1:18081")
deamon_url = "http:://127.0.0.1:38081"; daemon_url = "http:://127.0.0.1:38081";
uint64_t mempool_info_timeout {5000}; uint64_t mempool_info_timeout {5000};
@ -247,8 +247,8 @@ main(int ac, const char* av[])
= blockchain_path; = blockchain_path;
xmreg::CurrentBlockchainStatus::nettype xmreg::CurrentBlockchainStatus::nettype
= nettype; = nettype;
xmreg::CurrentBlockchainStatus::deamon_url xmreg::CurrentBlockchainStatus::daemon_url
= deamon_url; = daemon_url;
xmreg::CurrentBlockchainStatus::set_blockchain_variables( xmreg::CurrentBlockchainStatus::set_blockchain_variables(
&mcore, core_storage); &mcore, core_storage);
@ -264,8 +264,8 @@ main(int ac, const char* av[])
= blockchain_path; = blockchain_path;
xmreg::MempoolStatus::nettype xmreg::MempoolStatus::nettype
= nettype; = nettype;
xmreg::MempoolStatus::deamon_url xmreg::MempoolStatus::daemon_url
= deamon_url; = daemon_url;
xmreg::MempoolStatus::login xmreg::MempoolStatus::login
= daemon_rpc_login; = daemon_rpc_login;
xmreg::MempoolStatus::set_blockchain_variables( xmreg::MempoolStatus::set_blockchain_variables(
@ -299,7 +299,7 @@ main(int ac, const char* av[])
// contains logic for the website // contains logic for the website
xmreg::page xmrblocks(&mcore, xmreg::page xmrblocks(&mcore,
core_storage, core_storage,
deamon_url, daemon_url,
nettype, nettype,
enable_pusher, enable_pusher,
enable_randomx, enable_randomx,

Loading…
Cancel
Save