mithril_common::crypto_helper::tests_setup

Function setup_temp_directory_for_signer

source
pub fn setup_temp_directory_for_signer(
    party_id: &ProtocolPartyId,
    auto_create: bool,
) -> Option<PathBuf>
Expand description

Create or retrieve a temporary directory for storing cryptographic material for a signer, use this for tests only.