1
0
Fork 0
forked from lthn/blockchain

fixed another tests-breaking issue

This commit is contained in:
cryptozoidberg 2022-11-17 20:46:21 +01:00
parent 960daaca23
commit 20bc2fdf00
No known key found for this signature in database
GPG key ID: 22DEB97A54C6FDEC
2 changed files with 9 additions and 1 deletions

View file

@ -155,6 +155,13 @@ namespace net_utils
{
content.port = boost::lexical_cast<uint64_t>(result[6]);
}
else
{
if (content.schema == "http")
content.port = 80;
else if (content.schema == "https")
content.port = 443;
}
if(result[7].matched)
{
content.uri = result[7];

View file

@ -3158,7 +3158,8 @@ bool wallet2::delete_custom_asset_id(const crypto::hash& asset_id)
//----------------------------------------------------------------------------------------------------
bool wallet2::load_whitelisted_tokens_list()
{
epee::net_utils::http::https_simple_client https_client;
return true;
}
//----------------------------------------------------------------------------------------------------
void wallet2::get_transfers(wallet2::transfer_container& incoming_transfers) const