pub fn retrieve_state_hash(&self, key: &String) -> Result<StateHash, LedgerError> {
        Ok(StateHash {
            hash: LedgerService::get_hash(&key, &self.name.to_string())?,
        })
    }
/// Return the state has ONLY for this key
///
Return the state has ONLY for this key
Return the state has ONLY for this key
pub fn retrieve_state_hash(&self, key: &String) -> Result<StateHash, LedgerError> {
        Ok(StateHash {
            hash: LedgerService::get_hash(&key, &self.name.to_string())?,
        })
    }
pub fn retrieve_state_hash ( & self , key : & String ) -> Result < StateHash , LedgerError > { Ok ( StateHash { hash : LedgerService :: get_hash ( & key , & self . name . to_string ( ) ) ? , } ) }
Return the state has ONLY for this key
Return the state has ONLY for this key
&self
key
&String