chore: fix typos (#7877)

Co-authored-by: Dimitris Apostolou <dimitris.apostolou@icloud.com>
This commit is contained in:
Alfredo Garcia 2023-10-30 17:06:35 -03:00 committed by GitHub
parent d0e5b2f3ef
commit f3048653c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -665,7 +665,7 @@ where
attempts += 1;
// Avoid O(n^2) algorithmic complexity by giving up early,
// rather than exhausively checking the entire UTXO set
// rather than exhaustively checking the entire UTXO set
if attempts > 100 {
return None;
}

View File

@ -385,7 +385,7 @@ fn node_time_check(
fn time_check_now() {
let _init_guard = zebra_test::init();
// These checks are deteministic, because all the times are offset
// These checks are deterministic, because all the times are offset
// from the current time.
let now = Utc::now();
let three_hours_in_the_past = now - Duration::hours(3);

View File

@ -134,7 +134,7 @@ pub fn random_known_rpc_port_config(
let mut config = default_test_config(network)?;
config.rpc.listen_addr = Some(zebra_rpc_listener);
if parallel_cpu_threads {
// Auto-configure to the number of CPU cores: most users configre this
// Auto-configure to the number of CPU cores: most users configure this
config.rpc.parallel_cpu_threads = 0;
} else {
// Default config, users who want to detect port conflicts configure this