fn pub_coeffs_from_store(
    dkg_id: DkgId,
    lockable_threshold_sig_data_store: &LockableThresholdSigDataStore,
) -> Result<CspPublicCoefficients, ThresholdSigDataNotFoundError> {
    lockable_threshold_sig_data_store
        .read()
        .transcript_data(dkg_id)
        .map(|data| data.public_coefficients().clone())
        .ok_or(ThresholdSigDataNotFoundError::ThresholdSigDataNotFound { dkg_id })
}
// Use this if only the pub coeffs are needed from the store. If also indices
// are required, use transcript_data_from_store instead.
Use this if only the pub coeffs are needed from the store. If also indices
are required, use transcript_data_from_store instead.
Use this if only the pub coeffs are needed from the store . If also indices are required use transcript_data_from_store instead .
fn pub_coeffs_from_store(
    dkg_id: DkgId,
    lockable_threshold_sig_data_store: &LockableThresholdSigDataStore,
) -> Result<CspPublicCoefficients, ThresholdSigDataNotFoundError> {
    lockable_threshold_sig_data_store
        .read()
        .transcript_data(dkg_id)
        .map(|data| data.public_coefficients().clone())
        .ok_or(ThresholdSigDataNotFoundError::ThresholdSigDataNotFound { dkg_id })
}
fn pub_coeffs_from_store ( dkg_id : DkgId , lockable_threshold_sig_data_store : & LockableThresholdSigDataStore , ) -> Result < CspPublicCoefficients , ThresholdSigDataNotFoundError > { lockable_threshold_sig_data_store . read ( ) . transcript_data ( dkg_id ) . map ( | data | data . public_coefficients ( ) . clone ( ) ) . ok_or ( ThresholdSigDataNotFoundError :: ThresholdSigDataNotFound { dkg_id } ) }
Use this if only the pub coeffs are needed from the store.
Use this if only the pub coeffs are needed from the store .
dkg_id
DkgId
lockable_threshold_sig_data_store
&LockableThresholdSigDataStore
dkg_id
DkgId
lockable_threshold_sig_data_store
&LockableThresholdSigDataStore