Skip to content

Commit

Permalink
rename isBatchProcessed
Browse files Browse the repository at this point in the history
  • Loading branch information
ToniRamirezM committed May 16, 2023
1 parent a9631c4 commit 6d68264
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion state/converters.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func (s *State) convertToProcessBatchResponse(txs []types.Transaction, response
}

romOOC := response.Error != executor.EXECUTOR_ERROR_NO_ERROR
if romOOC && len(response.Responses) > 0 {
if !romOOC && len(response.Responses) > 0 {
// Check out of counters
errorToCheck := response.Responses[len(response.Responses)-1].Error
romOOC = executor.IsROMOutOfCountersError(errorToCheck)
Expand Down

0 comments on commit 6d68264

Please sign in to comment.