Skip to content

Commit 9759ad2

Browse files
Merge branch 'master' into dont-ask-replicate-if-unsync-node
2 parents 014ad92 + acc8186 commit 9759ad2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/com/iexec/worker/executor/TaskExecutorService.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,7 @@ public void reveal(String chainTaskId) {
245245
if (!revealService.canReveal(chainTaskId)) {
246246
log.warn("The worker will not be able to reveal [chainTaskId:{}]", chainTaskId);
247247
customFeignClient.updateReplicateStatus(chainTaskId, CANT_REVEAL);
248+
return;
248249
}
249250

250251
if (!revealService.hasEnoughGas()) {

0 commit comments

Comments
 (0)