Skip to content

Commit

Permalink
fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
mschneider committed Nov 8, 2024
1 parent 54e9f8b commit 89733a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/autobahn-router/src/server/http_server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ impl HttpServer {
) -> Result<Json<Value>, AppError> {
let route = route_provider.try_from(&input.quote_response)?;

Self::log_repriced_amount(live_account_provider, reprice_probability, &route);
Self::log_repriced_amount(live_account_provider.clone(), reprice_probability, &route);

let swap_mode: SwapMode = SwapMode::from_str(&input.quote_response.swap_mode)
.map_err(|_| anyhow::Error::msg("Invalid SwapMode"))?;
Expand All @@ -294,6 +294,7 @@ impl HttpServer {
address_lookup_table_addresses,
hash_provider,
alt_provider,
live_account_provider,
ix_builder,
&route,
input.user_public_key,
Expand Down

0 comments on commit 89733a0

Please sign in to comment.