We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1949707 commit 609e377Copy full SHA for 609e377
graph.go
@@ -154,7 +154,7 @@ func (g *Graph) AddTransaction(tx Transaction) error {
154
// Do not consider transactions below root.depth by exactly DEPTH_DIFF to be incomplete
155
// at all. Permit them to have incomplete parent histories.
156
157
- if g.rootDepth != uint64(sys.MaxParentsPerTransaction)+tx.Depth {
+ if g.rootDepth != uint64(sys.MaxDepthDiff)+tx.Depth {
158
for _, parentID := range tx.ParentIDs {
159
if _, stored := g.transactions[parentID]; !stored {
160
parentsMissing = true
0 commit comments