From a8b36f5eef366c7424314bb8d9d637fff812f376 Mon Sep 17 00:00:00 2001 From: Martin Beckmann Date: Wed, 27 Mar 2024 12:40:56 +0100 Subject: [PATCH] Update comment --- src/infra/config/dex/file.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/infra/config/dex/file.rs b/src/infra/config/dex/file.rs index ae2e7c7..bd3f716 100644 --- a/src/infra/config/dex/file.rs +++ b/src/infra/config/dex/file.rs @@ -61,9 +61,8 @@ struct Config { #[serde(with = "humantime_serde", default = "default_max_back_off")] max_back_off: Duration, - /// Offset applied to the gas estimate for a solution to hackily address - /// systematic over- or under-estimation of the execution cost of orders. - /// To be configured in units of gas. + /// Units of gas that get added to the gas estimate for executing a + /// computed trade route to arrive at a gas estimate for a whole settlement. #[serde(default)] solution_gas_offset: i64,