From c8b6af550c69e520c78226672bbef0eae4a3169d Mon Sep 17 00:00:00 2001 From: cipig Date: Fri, 13 Oct 2023 21:40:22 +0000 Subject: [PATCH] add lcw icon --- ci_tools_atomic_dex/vcpkg-custom-ports | 2 +- src/core/atomicdex/api/komodo_prices/komodo.prices.cpp | 4 ++++ src/core/atomicdex/api/komodo_prices/komodo.prices.hpp | 3 ++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ci_tools_atomic_dex/vcpkg-custom-ports b/ci_tools_atomic_dex/vcpkg-custom-ports index f20c053d1b..bcf67fea73 160000 --- a/ci_tools_atomic_dex/vcpkg-custom-ports +++ b/ci_tools_atomic_dex/vcpkg-custom-ports @@ -1 +1 @@ -Subproject commit f20c053d1b47957af9c50aa34be45c69dfdcc1a4 +Subproject commit bcf67fea7367fdb563f4d34ff9248f431335efa7 diff --git a/src/core/atomicdex/api/komodo_prices/komodo.prices.cpp b/src/core/atomicdex/api/komodo_prices/komodo.prices.cpp index f0616ad4d6..99e0ff1f16 100644 --- a/src/core/atomicdex/api/komodo_prices/komodo.prices.cpp +++ b/src/core/atomicdex/api/komodo_prices/komodo.prices.cpp @@ -61,6 +61,10 @@ namespace atomic_dex::komodo_prices::api { x = provider::forex; } + else if (j == "livecoinwatch") + { + x = provider::livecoinwatch; + } else { x = provider::unknown; diff --git a/src/core/atomicdex/api/komodo_prices/komodo.prices.hpp b/src/core/atomicdex/api/komodo_prices/komodo.prices.hpp index 36ec80e245..ee8f6671ca 100644 --- a/src/core/atomicdex/api/komodo_prices/komodo.prices.hpp +++ b/src/core/atomicdex/api/komodo_prices/komodo.prices.hpp @@ -13,6 +13,7 @@ namespace atomic_dex::komodo_prices::api coingecko, coinpaprika, forex, + livecoinwatch, unknown }; @@ -40,4 +41,4 @@ namespace atomic_dex::komodo_prices::api namespace atomic_dex::komodo_prices::api { ENTT_API pplx::task async_market_infos(bool fallback = false); -} \ No newline at end of file +}