Skip to content

Commit

Permalink
clippy + fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Dzejkop committed Feb 27, 2024
1 parent 014a738 commit 3295d20
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -311,8 +311,8 @@ mod tests {

let config = load_config(std::iter::empty()).unwrap();

assert_eq!(config.service.statsd_enabled, true);
assert_eq!(config.service.datadog_enabled, true);
assert!(config.service.statsd_enabled);
assert!(config.service.datadog_enabled);
assert_eq!(config.service.escalation_interval, Duration::from_secs(60));
assert_eq!(
config.database.to_connection_string(),
Expand Down
2 changes: 1 addition & 1 deletion src/tasks/escalate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ async fn escalate_txs(app: &App) -> eyre::Result<()> {
let mut futures = FuturesUnordered::new();

for (relayer_id, txs) in txs_for_escalation {
futures.push(escalate_relayer_txs(&app, relayer_id, txs));
futures.push(escalate_relayer_txs(app, relayer_id, txs));
}

while let Some(result) = futures.next().await {
Expand Down

0 comments on commit 3295d20

Please sign in to comment.