diff --git a/infrastructure/async/src/main/java/tech/pegasys/teku/infrastructure/async/SafeFuture.java b/infrastructure/async/src/main/java/tech/pegasys/teku/infrastructure/async/SafeFuture.java index c98925e85fe..f88962136be 100644 --- a/infrastructure/async/src/main/java/tech/pegasys/teku/infrastructure/async/SafeFuture.java +++ b/infrastructure/async/src/main/java/tech/pegasys/teku/infrastructure/async/SafeFuture.java @@ -454,10 +454,6 @@ public SafeFuture catchAndRethrow(final ExceptionThrowingConsumer }); } - public static SafeFuture supplyAsync(final Supplier supplier) { - return SafeFuture.of(CompletableFuture.supplyAsync(supplier)); - } - @SuppressWarnings("unchecked") @Override public SafeFuture thenApply(final Function fn) {