replaced loop

This commit is contained in:
Anil Dasari 2020-04-24 14:54:24 -07:00 committed by Anil Dasari
parent 5440369118
commit 8b76cf601e
1 changed files with 1 additions and 3 deletions

View File

@ -177,9 +177,7 @@ func (b *bootstrapper) storeVertex(vtx avalanche.Vertex) {
}
}
for _, parent := range vtx.Parents() {
vts = append(vts, parent)
}
vts = append(vts, vtx.Parents()...)
case choices.Accepted:
b.BootstrapConfig.Context.Log.Verbo("Bootstrapping confirmed %s", vtxID)
case choices.Rejected: