Skip to content

Commit

Permalink
Enclave: produce no batch if all tx failed
Browse files Browse the repository at this point in the history
  • Loading branch information
BedrockSquirrel committed Dec 14, 2023
1 parent 7c2a4df commit 438222a
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 438222a

Please sign in to comment.