pub fn public_coefficients(
            public_coefficients: CspPublicCoefficients,
        ) -> Result<PublicCoefficientsBytes, ni_dkg_errors::MalformedPublicKeyError> {
            let CspPublicCoefficients::Bls12_381(public_coefficients) = public_coefficients;
            Ok(public_coefficients)
        }
/// Note: We use the CSP equivalent of the
/// g20_internal_types::PublicCoefficientsBytes.
We use the CSP equivalent of the
g20_internal_types::PublicCoefficientsBytes.
We use the CSP equivalent of the g20_internal_types :: PublicCoefficientsBytes .
pub fn public_coefficients(
            public_coefficients: CspPublicCoefficients,
        ) -> Result<PublicCoefficientsBytes, ni_dkg_errors::MalformedPublicKeyError> {
            let CspPublicCoefficients::Bls12_381(public_coefficients) = public_coefficients;
            Ok(public_coefficients)
        }
pub fn public_coefficients ( public_coefficients : CspPublicCoefficients , ) -> Result < PublicCoefficientsBytes , ni_dkg_errors :: MalformedPublicKeyError > { let CspPublicCoefficients :: Bls12_381 ( public_coefficients ) = public_coefficients ; Ok ( public_coefficients ) }
Note: We use the CSP equivalent of the
g20_internal_types::PublicCoefficientsBytes.
Note : We use the CSP equivalent of the g20_internal_types :: PublicCoefficientsBytes .
public_coefficients
CspPublicCoefficients
public_coefficients
CspPublicCoefficients