Skip to content

Commit

Permalink
Add some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Mihajlo-Pavlovic committed Dec 14, 2024
1 parent c7eba8c commit 97530e4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/service/triple-store-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,13 @@ class TripleStoreService {
privateHashTriple,
);
} else {
// If there is no public match add it as new KA at the end
sortedPrivateRepresentationTriples.push(privateHashTriple);
}
}
const startIndexForPrivateKnowledgeAssetsWithoutPublicPair =
publicKnowledgeAssetsUALs.length;
// Add private hashes without public pair to the end
publicKnowledgeAssetsTriplesGrouped.push(
...sortedPrivateRepresentationTriples.map((triple) => [triple]),
);
Expand Down

0 comments on commit 97530e4

Please sign in to comment.