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 code comments and bug report errors #319

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
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 node/network/src/behaviour/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,7 @@ where
&error,
ConnectionDirection::Outgoing,
);
// inform failures of requests comming outside the behaviour
// inform failures of requests coming outside the behaviour
if let RequestId::Application(id) = id {
self.add_event(BehaviourEvent::RPCFailed { peer_id, id });
}
Expand Down
2 changes: 1 addition & 1 deletion node/network/tests/pm_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ impl Service {
struct Ev(PeerManagerEvent);
impl From<void::Void> for Ev {
fn from(_: void::Void) -> Self {
unreachable!("No events are emmited")
unreachable!("No events are emitted")
}
}
impl From<PeerManagerEvent> for Ev {
Expand Down
2 changes: 1 addition & 1 deletion run/config-testnet-standard.toml
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ auto_sync_enabled = true
# Enable to start a file sync via RPC (e.g. `admin_startSyncFile`).
# sync_file_by_rpc_enabled = true

# Maximum number of continous failures to terminate a file sync.
# Maximum number of continuous failures to terminate a file sync.
# max_request_failures = 3

# Timeout to dial peers.
Expand Down
2 changes: 1 addition & 1 deletion run/config-testnet-turbo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ auto_sync_enabled = true
# Enable to start a file sync via RPC (e.g. `admin_startSyncFile`).
# sync_file_by_rpc_enabled = true

# Maximum number of continous failures to terminate a file sync.
# Maximum number of continuous failures to terminate a file sync.
# max_request_failures = 3

# Timeout to dial peers.
Expand Down
2 changes: 1 addition & 1 deletion run/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@
# Enable to start a file sync via RPC (e.g. `admin_startSyncFile`).
# sync_file_by_rpc_enabled = true

# Maximum number of continous failures to terminate a file sync.
# Maximum number of continuous failures to terminate a file sync.
# max_request_failures = 3

# Timeout to dial peers.
Expand Down