pub fn improper_update(self, update: &SignedUpdate) -> Result<Home<Failed>, Home<Waiting>> {
        if self.check_sig(update).is_err() || self.state.queue.contains(&update.update.new_root) {
            Err(self)
        } else {
            Ok(self.into())
        }
    }
/// Notify the Home of an improper update, and set failed.
Notify the Home of an improper update, and set failed.
Notify the Home of an improper update and set failed .
pub fn improper_update(self, update: &SignedUpdate) -> Result<Home<Failed>, Home<Waiting>> {
        if self.check_sig(update).is_err() || self.state.queue.contains(&update.update.new_root) {
            Err(self)
        } else {
            Ok(self.into())
        }
    }
pub fn improper_update ( self , update : & SignedUpdate ) -> Result < Home < Failed > , Home < Waiting > > { if self . check_sig ( update ) . is_err ( ) || self . state . queue . contains ( & update . update . new_root ) { Err ( self ) } else { Ok ( self . into ( ) ) } }
Notify the Home of an improper update, and set failed.
Notify the Home of an improper update and set failed .
self
update
&SignedUpdate
self
update
&SignedUpdate