From 8028c2446465025031b96c9704f1b7e1bdf0cf39 Mon Sep 17 00:00:00 2001 From: Jakub Bogucki Date: Tue, 16 Nov 2021 10:00:44 +0100 Subject: [PATCH] Add expanded comment about how non voting members are special --- contracts/cw3-flex-multisig/src/contract.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/contracts/cw3-flex-multisig/src/contract.rs b/contracts/cw3-flex-multisig/src/contract.rs index e74a77bfb..33694c0d9 100644 --- a/contracts/cw3-flex-multisig/src/contract.rs +++ b/contracts/cw3-flex-multisig/src/contract.rs @@ -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)?