pub fn all_contribution_received(&self) -> Result<bool, Error> {
        if let Some(ref key_gen) = self.inner.lock().unwrap().key_gen {
            Ok(key_gen.all_contribution_received())
        } else {
            Err(Error::QuicP2P("NO DKG INSTANCE FOUND".to_string()))
        }
    }
/// Check if our node has received all contributions
Check if our node has received all contributions
Check if our node has received all contributions
pub fn all_contribution_received(&self) -> Result<bool, Error> {
        if let Some(ref key_gen) = self.inner.lock().unwrap().key_gen {
            Ok(key_gen.all_contribution_received())
        } else {
            Err(Error::QuicP2P("NO DKG INSTANCE FOUND".to_string()))
        }
    }
pub fn all_contribution_received ( & self ) -> Result < bool , Error > { if let Some ( ref key_gen ) = self . inner . lock ( ) . unwrap ( ) . key_gen { Ok ( key_gen . all_contribution_received ( ) ) } else { Err ( Error :: QuicP2P ( " " . to_string ( ) ) ) } }
Check if our node has received all contributions
Check if our node has received all contributions
&self