From 9fe30bf58b20377249dbc8c4fc33627b249f2d21 Mon Sep 17 00:00:00 2001 From: Matthew Whitehead Date: Mon, 10 Jun 2024 12:33:10 +0100 Subject: [PATCH] Fix uppercase Signed-off-by: Matthew Whitehead --- .../org/hyperledger/besu/controller/BesuControllerBuilder.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/besu/src/main/java/org/hyperledger/besu/controller/BesuControllerBuilder.java b/besu/src/main/java/org/hyperledger/besu/controller/BesuControllerBuilder.java index 4963ae2078f..366e034bd6f 100644 --- a/besu/src/main/java/org/hyperledger/besu/controller/BesuControllerBuilder.java +++ b/besu/src/main/java/org/hyperledger/besu/controller/BesuControllerBuilder.java @@ -106,6 +106,7 @@ import java.util.ArrayList; import java.util.Collections; import java.util.List; +import java.util.Locale; import java.util.Map; import java.util.Optional; import java.util.OptionalLong; @@ -839,7 +840,7 @@ private PivotBlockSelector createPivotSelector( if (genesisConfigOptions.isQbft() || genesisConfigOptions.isIbft2()) { LOG.info( "{} is configured, creating initial sync for BFT", - genesisConfigOptions.getConsensusEngine().toUpperCase()); + genesisConfigOptions.getConsensusEngine().toUpperCase(Locale.ROOT)); return new BFTPivotSelectorFromPeers( ethContext, syncConfig, syncState, metricsSystem, protocolContext, nodeKey); } else if (genesisConfigOptions.getTerminalTotalDifficulty().isPresent()) {