Skip to content

Commit

Permalink
Merge pull request #2381 from cipig/lcw
Browse files Browse the repository at this point in the history
add lcw icon
  • Loading branch information
smk762 authored Oct 27, 2023
2 parents 4a3544e + 3957dcc commit ebdd04c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/core/atomicdex/api/komodo_prices/komodo.prices.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ namespace atomic_dex::komodo_prices::api
{
x = provider::forex;
}
else if (j == "livecoinwatch")
{
x = provider::livecoinwatch;
}
else
{
x = provider::unknown;
Expand Down
3 changes: 2 additions & 1 deletion src/core/atomicdex/api/komodo_prices/komodo.prices.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ namespace atomic_dex::komodo_prices::api
coingecko,
coinpaprika,
forex,
livecoinwatch,
unknown
};

Expand Down Expand Up @@ -40,4 +41,4 @@ namespace atomic_dex::komodo_prices::api
namespace atomic_dex::komodo_prices::api
{
ENTT_API pplx::task<web::http::http_response> async_market_infos(bool fallback = false);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@ namespace atomic_dex
return "coinpaprika";
case komodo_prices::api::provider::forex:
return "forex";
case komodo_prices::api::provider::livecoinwatch:
return "livecoinwatch";
default:
return "unknown";
}
Expand Down

0 comments on commit ebdd04c

Please sign in to comment.