Skip to content

Commit

Permalink
Sync before merge
Browse files Browse the repository at this point in the history
  • Loading branch information
elielnfinic committed Nov 14, 2024
1 parent 3dec4b7 commit 2137b77
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions packages/object/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,7 @@ export class TopologyObject implements ITopologyObject {
this._notify("callFn", [serializedVertex]);
}

/*
* Merges the given vertices into the object's hashgraph.
* @param vertices - The vertices to merge
* @param synchronizeVertices - A callback to synchronize vertices if there is a dependency issue with the hashgraph
* @returns void
*/
async merge(vertices: Vertex[]) {
merge(vertices: Vertex[]) {
for (const vertex of vertices) {
// Check to avoid manually crafted `undefined` operations
if (!vertex.operation) {
Expand Down

0 comments on commit 2137b77

Please sign in to comment.