pub fn generate_from_seed(&mut self, seed: &str) -> Result<Pair> {
		let pair = Pair::from_string(seed, None)
			.map_err(|_| Error::from(ErrorKind::InvalidSeed))?;
		self.additional.insert(pair.public(), pair.clone());
		Ok(pair)
	}
/// Create a new key from seed. Do not place it into the store.
Create a new key from seed. Do not place it into the store.
Create a new key from seed . Do not place it into the store .
pub fn generate_from_seed(&mut self, seed: &str) -> Result<Pair> {
		let pair = Pair::from_string(seed, None)
			.map_err(|_| Error::from(ErrorKind::InvalidSeed))?;
		self.additional.insert(pair.public(), pair.clone());
		Ok(pair)
	}
pub fn generate_from_seed ( & mut self , seed : & str ) -> Result < Pair > { let pair = Pair :: from_string ( seed , None ) . map_err ( | _ | Error :: from ( ErrorKind :: InvalidSeed ) ) ? ; self . additional . insert ( pair . public ( ) , pair . clone ( ) ) ; Ok ( pair ) }
Create a new key from seed.
Create a new key from seed .
&mut self
seed
&str
&mut self
seed
&str