pub fn is_ready(&self) -> Result<bool, Error> {
        if let Some(ref key_gen) = self.inner.lock().unwrap().key_gen {
            Ok(key_gen.is_ready())
        } else {
            Err(Error::QuicP2P("NO DKG INSTANCE FOUND".to_string()))
        }
    }
/// Check if our node is ready to generate Keys safely
Check if our node is ready to generate Keys safely
Check if our node is ready to generate Keys safely
pub fn is_ready(&self) -> Result<bool, Error> {
        if let Some(ref key_gen) = self.inner.lock().unwrap().key_gen {
            Ok(key_gen.is_ready())
        } else {
            Err(Error::QuicP2P("NO DKG INSTANCE FOUND".to_string()))
        }
    }
pub fn is_ready ( & self ) -> Result < bool , Error > { if let Some ( ref key_gen ) = self . inner . lock ( ) . unwrap ( ) . key_gen { Ok ( key_gen . is_ready ( ) ) } else { Err ( Error :: QuicP2P ( " " . to_string ( ) ) ) } }
Check if our node is ready to generate Keys safely
Check if our node is ready to generate Keys safely
&self