mirror of https://github.com/poanetwork/gecko.git
replaced loop
This commit is contained in:
parent
5440369118
commit
8b76cf601e
|
@ -177,9 +177,7 @@ func (b *bootstrapper) storeVertex(vtx avalanche.Vertex) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, parent := range vtx.Parents() {
|
vts = append(vts, vtx.Parents()...)
|
||||||
vts = append(vts, parent)
|
|
||||||
}
|
|
||||||
case choices.Accepted:
|
case choices.Accepted:
|
||||||
b.BootstrapConfig.Context.Log.Verbo("Bootstrapping confirmed %s", vtxID)
|
b.BootstrapConfig.Context.Log.Verbo("Bootstrapping confirmed %s", vtxID)
|
||||||
case choices.Rejected:
|
case choices.Rejected:
|
||||||
|
|
Loading…
Reference in New Issue