Skip to content

Commit

Permalink
Merge branch 'amatei/acx-3323-replace-bulk-upserts-with-updates-only-…
Browse files Browse the repository at this point in the history
…if-necessary' of amateima.github.com:across-protocol/indexer into amatei/acx-3323-replace-bulk-upserts-with-updates-only-if-necessary
  • Loading branch information
amateima committed Nov 20, 2024
2 parents 8725336 + 49a7162 commit cd7adfd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export class BlockchainEventRepository {
};
}

// Check if the any of values of the comparison keys have changed
// Check if any of the values of the comparison keys have changed
const isChanged = comparisonKeys.some((key) => data[key] !== dbEntity[key]);
// Check if the data moved in finalised state
const isFinalisedChanged = data.finalised && !dbEntity.finalised;
Expand Down

0 comments on commit cd7adfd

Please sign in to comment.