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

chore: fix some typos in comments #6951

Merged
merged 3 commits into from
Apr 17, 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
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public class IbftController extends BaseBftController {
* @param gossiper the gossiper
* @param duplicateMessageTracker the duplicate message tracker
* @param futureMessageBuffer the future message buffer
* @param sychronizerUpdater the sychronizer updater
* @param sychronizerUpdater the synchronizer updater
*/
public IbftController(
final Blockchain blockchain,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public class QbftController extends BaseBftController {
* @param gossiper the gossiper
* @param duplicateMessageTracker the duplicate message tracker
* @param futureMessageBuffer the future message buffer
* @param sychronizerUpdater the sychronizer updater
* @param sychronizerUpdater the synchronizer updater
* @param bftExtraDataCodec the bft extra data codec
*/
public QbftController(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ void dispatch(final EthMessage ethMessage) {
*
* @param protocolName the type of protocol the message is for
* @param code the message code
* @return a request manager for the received response messsage, or Optional.empty() if this is a
* @return a request manager for the received response message, or Optional.empty() if this is a
* request message
*/
private Optional<RequestManager> getRequestManager(final String protocolName, final int code) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public void sendMessageBetweenAgents(
}

/**
* Starts multiple discovery agents with the provided boostrap peers.
* Starts multiple discovery agents with the provided bootstrap peers.
*
* @param count the number of agents to start
* @param bootstrapPeers the list of bootstrap peers
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ public String convertToPrometheusName(final MetricCategory category, final Strin

/**
* Convert to prometheus counter name. Prometheus adds a _total suffix to the name if not present,
* so we remember if the original name already has it, to be able to covert back correctly
* so we remember if the original name already has it, to be able to convert back correctly
*
* @param category the category
* @param name the name
Expand Down
Loading