From 4d6977b30199616f448923ccd1a77f1e4e1ec3f6 Mon Sep 17 00:00:00 2001 From: sowle Date: Tue, 4 Apr 2023 23:19:48 +0200 Subject: [PATCH] wallet2::load_whitelisted_tokens() was temporary disabled --- src/wallet/wallet2.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index 660ee41b..b9088e2e 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -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