diff --git a/src/entry_point/query.rs b/src/entry_point/query.rs index a9a6054..7a4de95 100644 --- a/src/entry_point/query.rs +++ b/src/entry_point/query.rs @@ -33,6 +33,6 @@ pub fn query(deps: Deps, _env: Env, msg: QueryMsg) -> Result Ok(to_json_binary(&earn::get_pools(deps, pool_ids, filter_type, pagination)?)?), // Specific function for querying USDC oracle price - GetUSDCPrice { } => Ok(to_json_binary(&earn::get_usdc_price(deps)?)?), + GetUsdcPrice { } => Ok(to_json_binary(&earn::get_usdc_price(deps)?)?), } } diff --git a/src/msg/query_msg.rs b/src/msg/query_msg.rs index a3cef51..f411af0 100644 --- a/src/msg/query_msg.rs +++ b/src/msg/query_msg.rs @@ -51,5 +51,5 @@ pub enum QueryMsg { #[returns(QueryEarnPoolResponse)] GetLiquidityPools { pool_ids: Option>, filter_type: FilterType, pagination: Option }, #[returns(Decimal)] - GetUSDCPrice{} + GetUsdcPrice{} }