Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinquaXD committed Mar 27, 2024
1 parent 661ad1d commit a8b36f5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/infra/config/dex/file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,

Expand Down

0 comments on commit a8b36f5

Please sign in to comment.