diff --git a/network/src/protocols/discovery/mod.rs b/network/src/protocols/discovery/mod.rs index dee85e5671..a0ffc51e3b 100644 --- a/network/src/protocols/discovery/mod.rs +++ b/network/src/protocols/discovery/mod.rs @@ -348,7 +348,7 @@ impl AddressManager for DiscoveryAddressManager { self.network_state.with_peer_store_mut(|peer_store| { if let Err(err) = peer_store.add_addr(addr.clone(), flags) { debug!( - "Failed to add discoved address to peer_store {:?} {:?}", + "Failed to add discovered address to peer_store {:?} {:?}", err, addr ); } diff --git a/script/fuzz/README.md b/script/fuzz/README.md index c9104c0bab..d4942e9120 100644 --- a/script/fuzz/README.md +++ b/script/fuzz/README.md @@ -1,6 +1,6 @@ ## How to run -install component and tools (require rust nighlty) +install component and tools (require rust nightly) ``` rustup component add llvm-tools-preview cargo install cargo-binutils diff --git a/script/src/verify/tests/ckb_latest/features_since_v2023.rs b/script/src/verify/tests/ckb_latest/features_since_v2023.rs index 09ed1b2ce4..aafed8439d 100644 --- a/script/src/verify/tests/ckb_latest/features_since_v2023.rs +++ b/script/src/verify/tests/ckb_latest/features_since_v2023.rs @@ -12,7 +12,7 @@ use crate::verify::{tests::utils::*, *}; // check_spawn_strcat: a smoking test for spawn(). // check_spawn_strcat_data_hash: position child script by data hash. // check_spawn_get_memory_limit: call get_memory_limit() in child script. -// check_spawn_set_content: set_content() with content < lenght, = length and > length. +// check_spawn_set_content: set_content() with content < length, = length and > length. // check_spawn_out_of_cycles: child script out-of-cycles. // check_spawn_exec: A exec B spawn C. // check_spawn_strcat_wrap: A spawn B spwan C. diff --git a/util/indexer/src/service.rs b/util/indexer/src/service.rs index bcdc89c7ce..1526074dd5 100644 --- a/util/indexer/src/service.rs +++ b/util/indexer/src/service.rs @@ -832,7 +832,7 @@ impl IndexerHandle { const MAX_PREFIX_SEARCH_SIZE: usize = u16::max_value() as usize; -// a helper fn to build query options from search paramters, returns prefix, from_key, direction and skip offset +// a helper fn to build query options from search parameters, returns prefix, from_key, direction and skip offset fn build_query_options( search_key: &IndexerSearchKey, lock_prefix: KeyPrefix,