diff --git a/ethereum/core/src/main/java/org/hyperledger/besu/ethereum/forest/pruner/Pruner.java b/ethereum/core/src/main/java/org/hyperledger/besu/ethereum/forest/pruner/Pruner.java index 3b37672b7dc..984873ab060 100644 --- a/ethereum/core/src/main/java/org/hyperledger/besu/ethereum/forest/pruner/Pruner.java +++ b/ethereum/core/src/main/java/org/hyperledger/besu/ethereum/forest/pruner/Pruner.java @@ -28,7 +28,6 @@ import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicReference; -import com.google.common.annotations.VisibleForTesting; import com.google.common.util.concurrent.ThreadFactoryBuilder; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -50,8 +49,7 @@ public class Pruner { private final AtomicReference state = new AtomicReference<>(State.IDLE); private final ExecutorService executorService; - @VisibleForTesting - Pruner( + public Pruner( final MarkSweepPruner pruningStrategy, final Blockchain blockchain, final PrunerConfiguration prunerConfiguration,