Skip to content

Commit

Permalink
Fix clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
romac committed Jan 3, 2024
1 parent b55ce20 commit 465291b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/integration-test/src/tests/client_settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ impl TestOverrides for ClientDefaultsTest {
chain_config_a.clock_drift = Duration::from_secs(3);
chain_config_a.max_block_time = Duration::from_secs(5);
chain_config_a.trusting_period = Some(Duration::from_secs(120_000));
chain_config_a.trust_threshold = TrustThreshold::new(13, 23).unwrap().into();
chain_config_a.trust_threshold = TrustThreshold::new(13, 23).unwrap();
}
}

Expand All @@ -41,7 +41,7 @@ impl TestOverrides for ClientDefaultsTest {
chain_config_b.clock_drift = Duration::from_secs(6);
chain_config_b.max_block_time = Duration::from_secs(15);
chain_config_b.trusting_period = Some(Duration::from_secs(340_000));
chain_config_b.trust_threshold = TrustThreshold::TWO_THIRDS.into();
chain_config_b.trust_threshold = TrustThreshold::TWO_THIRDS;
}
}
}
Expand Down

0 comments on commit 465291b

Please sign in to comment.