1
0
Fork 0
forked from lthn/blockchain

wallet2::load_whitelisted_tokens() was temporary disabled

This commit is contained in:
sowle 2023-04-04 23:19:48 +02:00
parent 8f86674fc1
commit 4d6977b301
No known key found for this signature in database
GPG key ID: C07A24B2D89D49FC

View file

@ -3282,6 +3282,14 @@ bool wallet2::delete_custom_asset_id(const crypto::public_key& asset_id)
//----------------------------------------------------------------------------------------------------
bool wallet2::load_whitelisted_tokens() const
{
// Temporary disable by sowle:
// 1. seems to be not working due to cloudflare issues
// 2. this should not access web when the tests are running
return true;
/*
m_whitelisted_assets.clear();
std::string body;
wallet_public::assets_whitelist aw = AUTO_VAL_INIT(aw);
@ -3293,6 +3301,7 @@ bool wallet2::load_whitelisted_tokens() const
}
}
return true;
*/
}
//----------------------------------------------------------------------------------------------------
bool wallet2::load_whitelisted_tokens_if_not_loaded() const