mirror of https://github.com/poanetwork/gecko.git
fix comment
This commit is contained in:
parent
37d5877a07
commit
9ea32f8236
|
@ -151,7 +151,7 @@ func (t *Transitive) GetAncestors(vdr ids.ShortID, requestID uint32, vtxID ids.I
|
|||
if parent.Status() == choices.Unknown { // Don't have this vertex;ignore
|
||||
continue
|
||||
}
|
||||
if parentID := parent.ID(); !visited.Contains(parentID) { // Already visited; ignore
|
||||
if parentID := parent.ID(); !visited.Contains(parentID) { // If already visited, ignore
|
||||
queue = append(queue, parent)
|
||||
visited.Add(parentID)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue