mirror of https://github.com/poanetwork/gecko.git
style fix
This commit is contained in:
parent
f0cd642c2d
commit
15898c4ac2
|
@ -165,11 +165,10 @@ func (b *bootstrapper) process(vtx avalanche.Vertex) error {
|
|||
}
|
||||
}
|
||||
for _, parent := range vtx.Parents() {
|
||||
if _, ok := b.processedCache.Get(parent.ID()); ok { // already processed this
|
||||
continue
|
||||
}
|
||||
if _, ok := b.processedCache.Get(parent.ID()); !ok { // already processed this
|
||||
toProcess.Push(parent)
|
||||
}
|
||||
}
|
||||
b.processedCache.Put(vtx.ID(), nil)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue