Skip to content

Commit

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

Please sign in to comment.