mithril_common::crypto_helper

Type Alias ProtocolAggregationError

source
pub type ProtocolAggregationError = AggregationError;
Expand description

Aliased Type§

enum ProtocolAggregationError {
    NotEnoughSignatures(u64, u64),
    UsizeConversionInvalid,
}

Variants§

§

NotEnoughSignatures(u64, u64)

Not enough signatures were collected, got this many instead.

§

UsizeConversionInvalid

This error happens when we try to convert a u64 to a usize and it does not fit