Skip to content

Commit

Permalink
chore: fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
rex4539 committed Oct 28, 2023
1 parent 7e7f989 commit 2cdb1e9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion zebra-chain/src/block/arbitrary.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion zebra-chain/src/block/tests/vectors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion zebrad/tests/common/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2cdb1e9

Please sign in to comment.