From e409e2cafb82103bfb4d06e60c6edc6889ce230d Mon Sep 17 00:00:00 2001 From: Sally MacFarlane Date: Tue, 7 Sep 2021 17:41:17 +1000 Subject: [PATCH] [MINOR] Typos (#2721) * typo Signed-off-by: Sally MacFarlane * synchronisation Signed-off-by: Sally MacFarlane * typo Signed-off-by: Sally MacFarlane Co-authored-by: mark-terry <36909937+mark-terry@users.noreply.github.com> --- besu/src/main/java/org/hyperledger/besu/cli/BesuCommand.java | 2 +- .../java/org/hyperledger/besu/config/GenesisConfigOptions.java | 2 +- .../besu/ethereum/p2p/discovery/PeerDiscoveryAgent.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/besu/src/main/java/org/hyperledger/besu/cli/BesuCommand.java b/besu/src/main/java/org/hyperledger/besu/cli/BesuCommand.java index 66c284075f..f5685944cb 100644 --- a/besu/src/main/java/org/hyperledger/besu/cli/BesuCommand.java +++ b/besu/src/main/java/org/hyperledger/besu/cli/BesuCommand.java @@ -2312,7 +2312,7 @@ public class BesuCommand implements DefaultCommandValues, Runnable { return pruningEnabled; } - // Blockchain synchronisation from peers. + // Blockchain synchronization from peers. private void synchronize( final BesuController controller, final boolean p2pEnabled, diff --git a/config/src/main/java/org/hyperledger/besu/config/GenesisConfigOptions.java b/config/src/main/java/org/hyperledger/besu/config/GenesisConfigOptions.java index 2638087d68..2b98dabb32 100644 --- a/config/src/main/java/org/hyperledger/besu/config/GenesisConfigOptions.java +++ b/config/src/main/java/org/hyperledger/besu/config/GenesisConfigOptions.java @@ -232,7 +232,7 @@ public interface GenesisConfigOptions { boolean isQuorum(); /** - * Block number to activate Quorum Permissioning. This options is used on Quorum-compatibility + * Block number to activate Quorum Permissioning. This option is used on Quorum-compatibility * mode. * * @return block number to activate Quorum Permissioning diff --git a/ethereum/p2p/src/main/java/org/hyperledger/besu/ethereum/p2p/discovery/PeerDiscoveryAgent.java b/ethereum/p2p/src/main/java/org/hyperledger/besu/ethereum/p2p/discovery/PeerDiscoveryAgent.java index 1fad0d5afe..a8d957cfae 100644 --- a/ethereum/p2p/src/main/java/org/hyperledger/besu/ethereum/p2p/discovery/PeerDiscoveryAgent.java +++ b/ethereum/p2p/src/main/java/org/hyperledger/besu/ethereum/p2p/discovery/PeerDiscoveryAgent.java @@ -358,7 +358,7 @@ public abstract class PeerDiscoveryAgent { } /** - * Removes an previously added peer bonded observer. + * Removes a previously added peer bonded observer. * * @param observerId The unique ID identifying the observer to remove. * @return Whether the observer was located and removed.