Skip to content

Commit 0133159

Browse files
committed
revert change
1 parent 689be51 commit 0133159

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

crates/swapper/src/swapper.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,8 +243,8 @@ impl GemSwapper {
243243
pub async fn get_quote_data(&self, quote: &Quote, data: FetchQuoteData) -> Result<SwapperQuoteData, SwapperError> {
244244
let provider = self.get_swapper_by_provider(&quote.data.provider.id)?;
245245
let mut quote_data = provider.get_quote_data(quote, data).await?;
246-
if let Some(limit) = quote_data.gas_limit.take() {
247-
quote_data.gas_limit = Some(Self::apply_gas_limit_multiplier(&quote.request.from_asset.chain(), limit));
246+
if let Some(gas_limit) = quote_data.gas_limit.take() {
247+
quote_data.gas_limit = Some(Self::apply_gas_limit_multiplier(&quote.request.from_asset.chain(), gas_limit));
248248
}
249249
Ok(quote_data)
250250
}

0 commit comments

Comments
 (0)