Skip to content

Commit

Permalink
chore:milestone deadline get for milestones less than current period
Browse files Browse the repository at this point in the history
  • Loading branch information
naneey committed Nov 11, 2023
1 parent 9f357bc commit 35f6ffc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -800,7 +800,7 @@ private List<Integer> getMilestoneDeadline(String ipfsHash){
int computedCompletionPeriod = proposalTotalPeriod+ completionPeriod;

int currentPeriod = getPeriodCount();
if (currentPeriod == computedCompletionPeriod){
if (currentPeriod >= computedCompletionPeriod){
milestoneIdList.add(milestoneId);
}
}
Expand Down

0 comments on commit 35f6ffc

Please sign in to comment.