chore: fix typo and remove redundant article in comments (#15915)

This commit is contained in:
FT
2025-04-24 20:42:07 +02:00
committed by GitHub
parent 26e467442c
commit cefac14a28
2 changed files with 3 additions and 3 deletions

View File

@@ -24,7 +24,7 @@ use tracing::trace;
pub const DEFAULT_SUPERVISOR_URL: &str = "http://localhost:1337/";
/// The default request timeout to use
const DEFAULT_REQUEST_TIMOUT: Duration = Duration::from_millis(100);
const DEFAULT_REQUEST_TIMEOUT: Duration = Duration::from_millis(100);
/// Implementation of the supervisor trait for the interop.
#[derive(Debug, Clone)]
@@ -48,7 +48,7 @@ impl SupervisorClient {
Self {
client,
safety,
timeout: DEFAULT_REQUEST_TIMOUT,
timeout: DEFAULT_REQUEST_TIMEOUT,
metrics: SupervisorMetrics::default(),
}
}

View File

@@ -76,7 +76,7 @@ impl BlockchainTestCase {
name.contains("UncleFromSideChain")
}
/// If the test expects an exception, return the the block number
/// If the test expects an exception, return the block number
/// at which it must occur together with the original message.
///
/// Note: There is a +1 here because the genesis block is not included