Skip to content

Commit

Permalink
[refactor]펀딩 기여시 검증 로직 추가 (#310)
Browse files Browse the repository at this point in the history
  • Loading branch information
kmw2378 committed Jun 25, 2024
1 parent 30b62cf commit da0d169
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public boolean attributable() {
}

public boolean isAttributableAmount(final int attributeAmount) {
return getRemainAmount() >= attributeAmount;
return (100 <= attributeAmount && attributeAmount <= getRemainAmount() - 100) || attributeAmount == getRemainAmount();
}

public boolean canceled() {
Expand Down

0 comments on commit da0d169

Please sign in to comment.