From 0fe9fefec268593971cfe97d078a65e51bd3f45c Mon Sep 17 00:00:00 2001 From: ilya Date: Tue, 21 Jan 2025 15:59:43 +0000 Subject: [PATCH] Comment --- crates/driver/src/domain/competition/auction.rs | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/crates/driver/src/domain/competition/auction.rs b/crates/driver/src/domain/competition/auction.rs index bb18fa0a84..4d54cf30e3 100644 --- a/crates/driver/src/domain/competition/auction.rs +++ b/crates/driver/src/domain/competition/auction.rs @@ -146,9 +146,8 @@ type Balances = HashMap; impl AuctionProcessor { /// Process the auction by prioritizing the orders and filtering out - /// unfillable orders as well as those that failed to fetch app data. - /// Fetches full app data for each order and returns an auction with - /// updated orders. + /// unfillable orders. Fetches full app data for each order and returns an + /// auction with updated orders. pub async fn prioritize(&self, auction: Auction, solver: ð::H160) -> Auction { Auction { orders: self.prioritize_orders(&auction, solver).await, @@ -156,8 +155,6 @@ impl AuctionProcessor { } } - /// Prioritize well priced and filter out unfillable orders from the given - /// auction. fn prioritize_orders( &self, auction: &Auction, @@ -419,7 +416,7 @@ impl AuctionProcessor { (*cow_amm.address(), cow_amm.validated_template_order(prices, signature_validator, &domain_separator).await) }), ) - .await; + .await; // Convert results to domain format. let domain_separator =