Skip to content

Commit

Permalink
fix(proposal vote migration): fixed proposal vote status migration
Browse files Browse the repository at this point in the history
  • Loading branch information
vhorin-mp committed Dec 1, 2021
1 parent fcbf06d commit 1e59c2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/migrations/src/scripts/proposal-vote.migration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export class ProposalVoteMigration implements Migration {
...proposal,
votePeriodEnd,
voteStatus:
votePeriodEnd < currentTimestamp
votePeriodEnd > currentTimestamp
? ProposalVoteStatus.Active
: ProposalVoteStatus.Expired,
};
Expand Down

0 comments on commit 1e59c2f

Please sign in to comment.