Skip to content

Commit

Permalink
Enclave: produce no batch if all tx failed (#1698) (#1700)
Browse files Browse the repository at this point in the history
  • Loading branch information
BedrockSquirrel authored Dec 14, 2023
1 parent fe6e327 commit 6995c7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/enclave/components/batch_executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ func (executor *batchExecutor) ComputeBatch(context *BatchExecutionContext, fail
if failForEmptyBatch &&
len(txReceipts) == 0 &&
len(ccReceipts) == 0 &&
len(transactionsToProcess) == 0 &&
len(transactionsToProcess)-len(excludedTxs) == 0 &&
len(crossChainTransactions) == 0 &&
len(messages) == 0 &&
len(transfers) == 0 {
Expand Down

0 comments on commit 6995c7c

Please sign in to comment.