Skip to content

Commit

Permalink
chore(smart-contracts): clean commented lines that are not used
Browse files Browse the repository at this point in the history
  • Loading branch information
nseguias committed Apr 19, 2024
1 parent a8f2513 commit dbcf946
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions contracts/liquidity_hub/pool-manager/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,13 +197,10 @@ pub fn query(deps: Deps, env: Env, msg: QueryMsg) -> Result<Binary, ContractErro
)?)?),
QueryMsg::Simulation {
offer_asset,
// ask_asset,
pair_identifier,
} => Ok(to_json_binary(&queries::query_simulation(
deps,
// env,
offer_asset,
// ask_asset,
pair_identifier,
)?)?),
QueryMsg::ReverseSimulation {
Expand Down
1 change: 0 additions & 1 deletion packages/white-whale-std/src/pool_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dbcf946

Please sign in to comment.