Ejemplo n.º 1
0
        public override BoolValue ValidateProposerInWhiteList(ValidateProposerInWhiteListInput input)
        {
            var organization = State.Organizations[input.OrganizationAddress];

            return(new BoolValue
            {
                Value = organization.ProposerWhiteList.Contains(input.Proposer)
            });
        }
Ejemplo n.º 2
0
 public override BoolValue ValidateProposerInWhiteList(ValidateProposerInWhiteListInput input)
 {
     return(new BoolValue {
         Value = ValidateAddressInWhiteList(input.Proposer)
     });
 }