Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
leecchh committed Sep 24, 2024
1 parent 5d4c83d commit 9d12644
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ module quorum_upgrade_policy::quorum_upgrade_policy {
assert!(proposal.upgrade_cap == voter.upgrade_cap, EInvalidVoterForUpgrade);
let voter_id = object::id(voter);
assert!(
!vec_set::contains(&proposal.current_voters, &voter_id),
!proposal.current_voters.contains(&voter_id),
EAlreadyVoted,
);
proposal.current_voters.insert(voter_id);
Expand Down

0 comments on commit 9d12644

Please sign in to comment.