Function get_private_key

Source
pub fn get_private_key<N: Network>(
    private_key: &Option<String>,
) -> Result<PrivateKey<N>>
Expand description

Returns the private key. If the --private-key options is not provided, it will default to the environment variable.