pub fn crypto_load_idkg_transcript(
    crypto: &dyn ConsensusCrypto,
    transcript: &IDkgTranscript,
    log: &ReplicaLogger,
) -> Result<Vec<IDkgComplaint>, IDkgLoadTranscriptError> {
    IDkgProtocol::load_transcript(crypto, transcript).map_err(|error| {
        warn!(
            log,
            "Failed to load transcript: transcript_id = {:?}, error = {:?}",
            transcript.transcript_id,
            error
        );
        error
    })
}
// Load idkg transcript and log errors.
Load idkg transcript and log errors.
Load idkg transcript and log errors .
pub fn crypto_load_idkg_transcript(
    crypto: &dyn ConsensusCrypto,
    transcript: &IDkgTranscript,
    log: &ReplicaLogger,
) -> Result<Vec<IDkgComplaint>, IDkgLoadTranscriptError> {
    IDkgProtocol::load_transcript(crypto, transcript).map_err(|error| {
        warn!(
            log,
            "Failed to load transcript: transcript_id = {:?}, error = {:?}",
            transcript.transcript_id,
            error
        );
        error
    })
}
pub fn crypto_load_idkg_transcript ( crypto : & dyn ConsensusCrypto , transcript : & IDkgTranscript , log : & ReplicaLogger , ) -> Result < Vec < IDkgComplaint > , IDkgLoadTranscriptError > { IDkgProtocol :: load_transcript ( crypto , transcript ) . map_err ( | error | { warn ! ( log " " transcript transcript_id error ) ; error } ) }
Load idkg transcript and log errors.
Load idkg transcript and log errors .
crypto
&dyn ConsensusCrypto
transcript
&IDkgTranscript
log
&ReplicaLogger
crypto
&dyn ConsensusCrypto
transcript
&IDkgTranscript
log
&ReplicaLogger