Function reconstruct_mnemonic

Source
pub fn reconstruct_mnemonic(
    shares: &[&Share],
    password: Option<&SecretSlice<u8>>,
) -> Result<SecretBox<Mnemonic>, WalletError>
Expand description

Reconstruct a [Mnemonic] from the shares. Can be used to initialize a wallet using the [iota_sdk::client::secret::mnemonic::MnemonicSecretManager::try_from_mnemonic] function.