From bf67c6a23ccd8ec8282decf7f1ca6c28e89f00f8 Mon Sep 17 00:00:00 2001 From: Fabio Di Fabio Date: Thu, 6 Jun 2024 17:37:52 +0200 Subject: [PATCH] Fix: always use miningParametersSupplier (#7187) Signed-off-by: Fabio Di Fabio --- besu/src/main/java/org/hyperledger/besu/cli/BesuCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 bd47630fad6..c0fd9b0bff8 100644 --- a/besu/src/main/java/org/hyperledger/besu/cli/BesuCommand.java +++ b/besu/src/main/java/org/hyperledger/besu/cli/BesuCommand.java @@ -1876,7 +1876,7 @@ public BesuController buildController() { public BesuControllerBuilder getControllerBuilder() { pluginCommonConfiguration .init(dataDir(), dataDir().resolve(DATABASE_PATH), getDataStorageConfiguration()) - .withMiningParameters(getMiningParameters()) + .withMiningParameters(miningParametersSupplier.get()) .withJsonRpcHttpOptions(jsonRpcHttpOptions); final KeyValueStorageProvider storageProvider = keyValueStorageProvider(keyValueStorageName); return controllerBuilderFactory