From dbcf946c0b7eee721dab72231c8e7a10d52ead1d Mon Sep 17 00:00:00 2001 From: nahem Date: Fri, 19 Apr 2024 14:40:07 +0200 Subject: [PATCH] chore(smart-contracts): clean commented lines that are not used --- contracts/liquidity_hub/pool-manager/src/contract.rs | 3 --- packages/white-whale-std/src/pool_manager.rs | 1 - 2 files changed, 4 deletions(-) diff --git a/contracts/liquidity_hub/pool-manager/src/contract.rs b/contracts/liquidity_hub/pool-manager/src/contract.rs index 91fc1c47..82106f1e 100644 --- a/contracts/liquidity_hub/pool-manager/src/contract.rs +++ b/contracts/liquidity_hub/pool-manager/src/contract.rs @@ -197,13 +197,10 @@ pub fn query(deps: Deps, env: Env, msg: QueryMsg) -> Result Ok(to_json_binary(&queries::query_simulation( deps, - // env, offer_asset, - // ask_asset, pair_identifier, )?)?), QueryMsg::ReverseSimulation { diff --git a/packages/white-whale-std/src/pool_manager.rs b/packages/white-whale-std/src/pool_manager.rs index 86f5c9ec..f344676d 100644 --- a/packages/white-whale-std/src/pool_manager.rs +++ b/packages/white-whale-std/src/pool_manager.rs @@ -218,7 +218,6 @@ pub enum QueryMsg { #[returns(SimulationResponse)] Simulation { offer_asset: Coin, - // ask_asset: Coin, pair_identifier: String, }, /// Simulates a reverse swap, i.e. given the ask asset, how much of the offer asset is needed to