Skip to content

Commit

Permalink
refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
djeck1432 committed Sep 21, 2024
1 parent bbe9c7d commit 71c09ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/src/starknet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,15 @@ export const getVestingEvents = async (contract: string, address: string): Promi
if (isVestingMilestone) {
acc.push({
amount: amount,
timestamp: timestamp,
claimable_at: timestamp,
is_claimable: now >= timestamp,
is_claimed: false,
});
} else if (isVested) {
acc.push({
amount: amount,
is_claimable: false,
timestamp: timestamp,
claimable_at: null,
is_claimed: true,
});
}
Expand Down

0 comments on commit 71c09ec

Please sign in to comment.