Skip to content

Commit

Permalink
Fixed a fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aminlatifi committed Oct 29, 2024
1 parent bdb0a83 commit 13b62ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/donationService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ export const syncDonationStatusWithBlockchainNetwork = async (params: {
donateTime: transactionDate,
});

if (cap > -donation.amount) {
if (cap >= donation.amount) {
const [earlyAccessRound, qfRound] = await Promise.all([
findActiveEarlyAccessRound(transactionDate),
findActiveQfRound({ date: transactionDate }),
Expand Down

0 comments on commit 13b62ba

Please sign in to comment.