v0.2.11-pre.011-fix.001

This commit is contained in:
2026-08-26 14:56:44 +02:00
parent 251f9f9ad8
commit b5a1293953
6 changed files with 132 additions and 21 deletions

View File

@@ -1,5 +1,5 @@
// file: crates/ksp-offchain-transport-lib/src/market_price_coinmarketcap.rs
// version: 3
// version: 4
//! CoinMarketCap SOL/USD market-price adapter using the current Simple Price V2 REST surface.
@@ -166,7 +166,7 @@ fn build_request(settings: &crate::MarketPriceCoinMarketCapSettings) -> ksp_core
std::result::Result::Ok(value) => value,
std::result::Result::Err(error) => return std::result::Result::Err(error),
};
request.append_query_pair("ids", "5426");
request.append_query_pair("id", "5426");
request.append_query_pair("convert", "USD");
request.append_query_pair("include_last_updated", "true");
if let std::option::Option::Some(api_key) = settings.api_key()