From f129759954a406f7c46f4c5ea6267d3aa52ecbed Mon Sep 17 00:00:00 2001 From: Siddharth2207 Date: Wed, 27 Dec 2023 13:22:22 +0530 Subject: [PATCH] fix --- orderbook-rs/src/gasoracle/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/orderbook-rs/src/gasoracle/mod.rs b/orderbook-rs/src/gasoracle/mod.rs index 614f65c87..a5ef5e7e5 100644 --- a/orderbook-rs/src/gasoracle/mod.rs +++ b/orderbook-rs/src/gasoracle/mod.rs @@ -26,8 +26,8 @@ pub async fn gas_price_oracle( request = request.header(AUTHORIZATION, api_key); } let response: BlockNativeResponse = request.send().await?.error_for_status()?.json().await?; - let fatest = response + let fastest = response .estimate_from_category(&GasCategory::Fastest) .unwrap(); - Ok((fatest.max_priority_fee_per_gas, fatest.max_fee_per_gas)) + Ok((fastest.max_priority_fee_per_gas, fastest.max_fee_per_gas)) }