diff --git a/src/main/java/com/iota/iri/controllers/MilestoneViewModel.java b/src/main/java/com/iota/iri/controllers/MilestoneViewModel.java index dfef38b743..9657b338af 100644 --- a/src/main/java/com/iota/iri/controllers/MilestoneViewModel.java +++ b/src/main/java/com/iota/iri/controllers/MilestoneViewModel.java @@ -111,9 +111,6 @@ public static MilestoneViewModel findClosestPrevMilestone(Tangle tangle, int ind } public static MilestoneViewModel findClosestNextMilestone(Tangle tangle, int index) throws Exception { - if(index <= com.iota.iri.Milestone.MILESTONE_START_INDEX) { - return first(tangle); - } Pair milestonePair = tangle.next(Milestone.class, new IntegerIndex(index)); if(milestonePair != null && milestonePair.hi != null) { return new MilestoneViewModel((Milestone) milestonePair.hi);