Skip to content

Commit

Permalink
Added a log
Browse files Browse the repository at this point in the history
  • Loading branch information
aminlatifi committed Oct 31, 2024
1 parent 3d7a356 commit 716556b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/services/donationService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,9 @@ export const syncDonationStatusWithBlockchainNetwork = async (params: {
donateTime: transactionDate,
});

logger.debug(
`the available cap at time ${transaction.timestamp} is ${cap}, and donation amount is ${donation.amount}`,
);
if (cap >= donation.amount) {
const [earlyAccessRound, qfRound] = await Promise.all([
findActiveEarlyAccessRound(transactionDate),
Expand Down

0 comments on commit 716556b

Please sign in to comment.