mirror of
https://github.com/monero-project/monero.git
synced 2025-05-29 10:11:15 -04:00
Reorganize testnet constants
This commit is contained in:
parent
79862ad1de
commit
fb4146fa34
14 changed files with 68 additions and 80 deletions
|
@ -543,7 +543,7 @@ bool wallet2::check_connection()
|
|||
net_utils::http::url_content u;
|
||||
net_utils::parse_url(m_daemon_address, u);
|
||||
if(!u.port)
|
||||
u.port = RPC_DEFAULT_PORT;
|
||||
u.port = config::RPC_DEFAULT_PORT;
|
||||
return m_http_client.connect(u.host, std::to_string(u.port), WALLET_RCP_CONNECTION_TIMEOUT);
|
||||
}
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue