Skip to content

Commit

Permalink
remove support for VotingPeriodAccepted for NoExecutionSimpleMajority…
Browse files Browse the repository at this point in the history
…ExecutionStrategy (#586)
  • Loading branch information
pscott authored Oct 9, 2023
1 parent 16742df commit 06ec6f5
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,7 @@ mod NoExecutionSimpleMajorityExecutionStrategy {
) {
let proposal_status = self
.get_proposal_status(proposal, votes_for, votes_against, votes_abstain,);
assert(
(proposal_status == ProposalStatus::Accepted(()))
| (proposal_status == ProposalStatus::VotingPeriodAccepted(())),
'Invalid Proposal Status'
);
assert(proposal_status == ProposalStatus::Accepted(()), 'Invalid Proposal Status');
}

fn get_proposal_status(
Expand Down

0 comments on commit 06ec6f5

Please sign in to comment.