Skip to content

Commit

Permalink
Add expanded comment about how non voting members are special
Browse files Browse the repository at this point in the history
  • Loading branch information
ueco-jb committed Nov 16, 2021
1 parent 3a4179f commit 8028c24
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions contracts/cw3-flex-multisig/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,10 @@ pub fn execute_propose(
let cfg = CONFIG.load(deps.storage)?;

// Only members of the multisig can create a proposal
// Non-voting members are special - they are allowed to create a proposal and
// therefore "vote", but they aren't allowed to vote otherwise.
// Such vote is also special, because despite having 0 weight it still counts when
// counting threshold passing
let vote_power = cfg
.group_addr
.is_member(&deps.querier, &info.sender, None)?
Expand Down

0 comments on commit 8028c24

Please sign in to comment.