diff --git a/internal/tree/treeconfig.go b/internal/tree/treeconfig.go index 8ec3eac9..e50f954d 100644 --- a/internal/tree/treeconfig.go +++ b/internal/tree/treeconfig.go @@ -157,7 +157,3 @@ func (t *Tree) heightOf(replicaID hotstuff.ID) int { func (t *Tree) replicaPosition(id hotstuff.ID) int { return slices.Index(t.posToIDMapping, id) } - -func (t *Tree) isWithInIndex(position int) bool { - return position < len(t.posToIDMapping) -}