Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Siddharth2207 committed Dec 27, 2023
1 parent ff9689c commit f129759
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions orderbook-rs/src/gasoracle/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}

0 comments on commit f129759

Please sign in to comment.