Function pallet_collective::ensure_members
source · pub fn ensure_members<OuterOrigin, AccountId, I>(
o: OuterOrigin,
n: MemberCount,
) -> Result<MemberCount, &'static str>
Expand description
Ensure that the origin o
represents at least n
members. Returns Ok
or an Err
otherwise.