pub fn to_hashset(&self) -> HashSet<EthAddress> {
        let mut res = HashSet::new();
        for item in self.members.iter() {
            if let Some(address) = item.eth_address {
                res.insert(address);
            } else {
                panic!("Validator in active set without Eth Address! This must be corrected immediately!")
            }
        }
        res
    }
/// A utility function to provide a HashSet of members for union operations
A utility function to provide a HashSet of members for union operations
A utility function to provide a HashSet of members for union operations
pub fn to_hashset(&self) -> HashSet<EthAddress> {
        let mut res = HashSet::new();
        for item in self.members.iter() {
            if let Some(address) = item.eth_address {
                res.insert(address);
            } else {
                panic!("Validator in active set without Eth Address! This must be corrected immediately!")
            }
        }
        res
    }
pub fn to_hashset ( & self ) -> HashSet < EthAddress > { let mut res = HashSet :: new ( ) ; for item in self . members . iter ( ) { if let Some ( address ) = item . eth_address { res . insert ( address ) ; } else { panic ! ( " " ) } } res }
A utility function to provide a HashSet of members for union operations
A utility function to provide a HashSet of members for union operations
&self
&self