Skip to content

Commit b65de3b

Browse files
author
Jérémy James Toussaint
committed
Return if cant reveal
1 parent ccb48e4 commit b65de3b

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)