Skip to content

Commit

Permalink
Fix: always use miningParametersSupplier (hyperledger#7187)
Browse files Browse the repository at this point in the history
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Signed-off-by: George Tebrean <george@web3labs.com>
  • Loading branch information
fab-10 authored and gtebrean committed Jun 26, 2024
1 parent fdc8815 commit 9676381
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1882,7 +1882,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
Expand Down

0 comments on commit 9676381

Please sign in to comment.