Skip to content

Commit

Permalink
Merge pull request nervosnetwork#4763 from chloefeal/fix
Browse files Browse the repository at this point in the history
Fix typos
  • Loading branch information
driftluo authored Dec 30, 2024
2 parents 5ef6cac + 2814ed2 commit ea4d105
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion script/src/scheduler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@ where
_ => (),
}
}
// Transfering data from write fds to read fds
// Transferring data from write fds to read fds
for (read_vm_id, read_state, write_vm_id, write_state) in pairs {
let ReadState {
length: read_length,
Expand Down
2 changes: 1 addition & 1 deletion script/testdata/spawn_cases.c
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ int parent_invalid_fd(uint64_t* pid) {
err = ckb_write(fds[CKB_STDOUT], data, &data_length);
CHECK2(err == CKB_OTHER_END_CLOSED, -2);

// read from fd but the ohter end is closed
// read from fd but the other end is closed
err = ckb_pipe(fds);
CHECK(err);
err = ckb_close(fds[CKB_STDOUT]);
Expand Down
2 changes: 1 addition & 1 deletion util/app-config/src/configs/indexer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ pub struct IndexerConfig {
/// The init tip block hash
#[serde(default)]
pub init_tip_hash: Option<H256>,
/// limit of indexer reqeust
/// limit of indexer request
#[serde(default)]
pub request_limit: Option<usize>,
/// Rich indexer config options
Expand Down
2 changes: 1 addition & 1 deletion util/fee-estimator/src/estimator/weight_units_flow.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
//! - New transactions entering the mempool.
//!
//! While it's impossible to predict sudden changes to the speed at which new
//! weight is added to the mempool, for simplicty's sake we're going to assume
//! weight is added to the mempool, for simplicity's sake we're going to assume
//! the flow we measured remains constant: `added_weight = flow * blocks`.
//!
//! - Transactions leaving the mempool due to mined blocks. Each block removes
Expand Down

0 comments on commit ea4d105

Please sign in to comment.