Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos #4763

Merged
merged 4 commits into from
Dec 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading