diff --git a/ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/manager/PeerReputation.java b/ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/manager/PeerReputation.java index 0c2edf226ed..e152d8c91b6 100644 --- a/ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/manager/PeerReputation.java +++ b/ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/manager/PeerReputation.java @@ -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; } diff --git a/ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/messages/StatusMessage.java b/ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/messages/StatusMessage.java index 9e8af4b0e57..4e268e6b411 100644 --- a/ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/messages/StatusMessage.java +++ b/ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/messages/StatusMessage.java @@ -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;