Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaolou86 committed Nov 3, 2023
1 parent e27bcce commit 244aa3a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion network/src/protocols/discovery/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
);
}
Expand Down
2 changes: 1 addition & 1 deletion script/fuzz/README.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion script/src/verify/tests/ckb_latest/features_since_v2023.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion util/indexer/src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 244aa3a

Please sign in to comment.