Skip to content

Commit

Permalink
extra check
Browse files Browse the repository at this point in the history
  • Loading branch information
miiu96 committed Aug 7, 2024
1 parent b1cd805 commit 4f2f595
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion process/elasticproc/transactions/serialize.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ func serializeTxHashStatus(buffSlice *data.BufferSlice, txHashStatusInfo map[str
ctx._source.errorEvent = params.statusInfo.errorEvent;
}
if ((ctx._source.completedEvent) && (ctx._source.errorEvent)) {
if ((ctx._source.completedEvent != null && ctx._source.completedEvent) && (ctx._source.errorEvent != null && ctx._source.errorEvent)) {
ctx._source.status = 'success';
}
`
Expand Down

0 comments on commit 4f2f595

Please sign in to comment.