Skip to content

Commit

Permalink
Merge branch 'fix/compromised-wallet-with-no-milestone-progressreport…
Browse files Browse the repository at this point in the history
…' into fix/contributor-project-getters
  • Loading branch information
naneey authored Jan 25, 2024
2 parents 9dd738c + 77f985a commit 2867aa3
Show file tree
Hide file tree
Showing 3 changed files with 405 additions and 58 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -790,7 +790,10 @@ private List<Integer> getMilestoneDeadline(String ipfsHash) {

int currentPeriod = getPeriodCount();
if (currentPeriod >= computedCompletionPeriod) {
milestoneIdList.add(milestoneId);
int status = MilestoneDb.status.at(milestonePrefix).getOrDefault(0);
if (status != MILESTONE_REPORT_APPROVED ){
milestoneIdList.add(milestoneId);
}
}
}
return milestoneIdList;
Expand Down
Loading

0 comments on commit 2867aa3

Please sign in to comment.