Skip to content
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 @@ -56,7 +56,8 @@ 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