From 9b870f9f4eb86344d23c92fbbf2dbf91683807eb Mon Sep 17 00:00:00 2001 From: planetBoy <140164174+Guayaba221@users.noreply.github.com> Date: Thu, 2 Jan 2025 09:12:10 +0100 Subject: [PATCH] fix spelling issues (#12670) **Setup up - Set up** **reasong - reason** --- tools/mock-node/src/setup.rs | 2 +- tools/state-viewer/src/replay_headers.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/mock-node/src/setup.rs b/tools/mock-node/src/setup.rs index f30d6212564..c379e0ed4ff 100644 --- a/tools/mock-node/src/setup.rs +++ b/tools/mock-node/src/setup.rs @@ -102,7 +102,7 @@ pub struct MockNode { pub rpc_client: JsonRpcClient, } -/// Setup up a mock node, including setting up +/// Set up a mock node, including setting up /// a MockPeerManagerActor and a ClientActor and a ViewClientActor /// `client_home_dir`: home dir for the new client /// `network_home_dir`: home dir that contains the pre-generated chain history, will be used diff --git a/tools/state-viewer/src/replay_headers.rs b/tools/state-viewer/src/replay_headers.rs index 8c75920eb46..86bfb177c5c 100644 --- a/tools/state-viewer/src/replay_headers.rs +++ b/tools/state-viewer/src/replay_headers.rs @@ -201,7 +201,7 @@ fn get_validator_summary( validator_to_summary } -/// Returns a mapping from validator account id to the kickout reasong (from previous epoch). +/// Returns a mapping from validator account id to the kickout reason (from previous epoch). fn get_validator_kickouts( validator_info: &EpochValidatorInfo, ) -> HashMap {