Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
shuoer86 committed Oct 16, 2023
1 parent e0b3316 commit 7d47c35
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public PeerReputation() {
}

public PeerReputation(final int initialScore, final int maxScore) {
checkArgument(initialScore <= maxScore, "Inital score must be less than or equal to max score");
checkArgument(initialScore <= maxScore, "Initial score must be less than or equal to max score");
this.maxScore = maxScore;
this.score = initialScore;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@ public Difficulty totalDifficulty() {
}

/**
* Return The hash of the head of the associated node's local blockchian.
* Return The hash of the head of the associated node's local blockchain.
*
* @return The hash of the head of the associated node's local blockchian.
* @return The hash of the head of the associated node's local blockchain.
*/
public Hash bestHash() {
return status().bestHash;
Expand Down

0 comments on commit 7d47c35

Please sign in to comment.