diff --git a/libs/migrations/src/scripts/proposal-vote.migration.ts b/libs/migrations/src/scripts/proposal-vote.migration.ts index fc33064b..b669e6e6 100644 --- a/libs/migrations/src/scripts/proposal-vote.migration.ts +++ b/libs/migrations/src/scripts/proposal-vote.migration.ts @@ -23,7 +23,7 @@ export class ProposalVoteMigration implements Migration { ...proposal, votePeriodEnd, voteStatus: - votePeriodEnd < currentTimestamp + votePeriodEnd > currentTimestamp ? ProposalVoteStatus.Active : ProposalVoteStatus.Expired, };