Skip to content

Commit

Permalink
fix required for rust 1.75.0
Browse files Browse the repository at this point in the history
  • Loading branch information
epanchee committed Feb 12, 2025
1 parent e4ce036 commit 6498212
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/pair_concentrated_duality/src/orderbook/execute.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ pub fn process_cumulative_trade(
}
}

let fee_info = if let Some(fee_info) = fee_info {
let fee_info = if let Some(fee_info) = fee_info.cloned() {
fee_info
} else {
&query_fee_info(
query_fee_info(
&deps.querier,
&config.factory_addr,
config.pair_info.pair_type.clone(),
Expand Down
1 change: 1 addition & 0 deletions packages/astroport/src/querier.rs
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ where
}

/// This structure holds parameters that describe the fee structure for a pool.
#[derive(Clone)]
pub struct FeeInfo {
/// The fee address
pub fee_address: Option<Addr>,
Expand Down

0 comments on commit 6498212

Please sign in to comment.