diff --git a/CHANGELOG.md b/CHANGELOG.md index 2ceaa5b1b50..ee32ad05f85 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,7 @@ ### Bug fixes - Make block transaction selection max time aware of PoA transitions [#6676](https://github.com/hyperledger/besu/pull/6676) +- Don't enable the BFT mining coordinator when running sub commands such as `blocks export` [#6675](https://github.com/hyperledger/besu/pull/6675) ### Download Links diff --git a/besu/src/main/java/org/hyperledger/besu/controller/IbftBesuControllerBuilder.java b/besu/src/main/java/org/hyperledger/besu/controller/IbftBesuControllerBuilder.java index eb261ff42ba..c4a412e4dc8 100644 --- a/besu/src/main/java/org/hyperledger/besu/controller/IbftBesuControllerBuilder.java +++ b/besu/src/main/java/org/hyperledger/besu/controller/IbftBesuControllerBuilder.java @@ -246,11 +246,7 @@ protected MiningCoordinator createMiningCoordinator( .getBlockPeriodSeconds())); if (syncState.isInitialSyncPhaseDone()) { - LOG.info("Starting IBFT mining coordinator"); ibftMiningCoordinator.enable(); - ibftMiningCoordinator.start(); - } else { - LOG.info("IBFT mining coordinator not starting while initial sync in progress"); } syncState.subscribeCompletionReached( diff --git a/besu/src/main/java/org/hyperledger/besu/controller/QbftBesuControllerBuilder.java b/besu/src/main/java/org/hyperledger/besu/controller/QbftBesuControllerBuilder.java index b26088e73f1..a622001ef89 100644 --- a/besu/src/main/java/org/hyperledger/besu/controller/QbftBesuControllerBuilder.java +++ b/besu/src/main/java/org/hyperledger/besu/controller/QbftBesuControllerBuilder.java @@ -286,11 +286,7 @@ protected MiningCoordinator createMiningCoordinator( .getBlockPeriodSeconds())); if (syncState.isInitialSyncPhaseDone()) { - LOG.info("Starting QBFT mining coordinator"); miningCoordinator.enable(); - miningCoordinator.start(); - } else { - LOG.info("QBFT mining coordinator not starting while initial sync in progress"); } syncState.subscribeCompletionReached(