Skip to content

Commit

Permalink
fix: hg deps bug (#161)
Browse files Browse the repository at this point in the history
  • Loading branch information
d-roak authored Sep 18, 2024
1 parent 6198600 commit 6b80e2f
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions packages/object/src/hashgraph/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,15 @@ export class HashGraph {
vertices: Map<Hash, Vertex> = new Map();
frontier: Hash[] = [];
forwardEdges: Map<Hash, Hash[]> = new Map();
static readonly rootHash: Hash = computeHash(
/*
computeHash(
"",
{ type: OperationType.NOP, value: null },
{ type: OperationType.NOP },
[],
);
)
*/
static readonly rootHash: Hash =
"ee075937c2a6c8ccf8d94fb2a130c596d3dbcc32910b6e744ad55c3e41b41ad6";
private arePredecessorsFresh = false;
private reachablePredecessors: Map<Hash, BitSet> = new Map();
private topoSortedIndex: Map<Hash, number> = new Map();
Expand Down

0 comments on commit 6b80e2f

Please sign in to comment.