diff --git a/src/main/java/com/iexec/core/replicate/ReplicateSupplyService.java b/src/main/java/com/iexec/core/replicate/ReplicateSupplyService.java index 73019568..e3c2e3ba 100644 --- a/src/main/java/com/iexec/core/replicate/ReplicateSupplyService.java +++ b/src/main/java/com/iexec/core/replicate/ReplicateSupplyService.java @@ -97,8 +97,6 @@ Optional getAvailableReplicateTaskSummary(long workerLastB return Optional.empty(); } - // TODO : Remove this, the optional can never be empty - // This is covered in workerService.canAcceptMoreWorks final Optional optional = workerService.getWorker(walletAddress); if (optional.isEmpty()) { return Optional.empty();