From ad658b6b997a8fb880cba03cef33f076c801227b Mon Sep 17 00:00:00 2001 From: Jerry Date: Thu, 29 Sep 2022 22:29:06 -0700 Subject: [PATCH] Minor bug fix --- core/blockstm/status.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/blockstm/status.go b/core/blockstm/status.go index 7a5c895b7e..3025cf6c3e 100644 --- a/core/blockstm/status.go +++ b/core/blockstm/status.go @@ -128,7 +128,7 @@ func (m *taskStatusManager) addDependencies(blocker int, dependent int) bool { // Blocker has already completed delete(curblockers, blocker) - return false + return len(curblockers) > 0 } if _, ok := m.dependency[blocker]; !ok {