/// Combines a non-empty collection of individual signatures into a combined
/// signature. Panics if called with zero signatures.
Combines a non-empty collection of individual signatures into a combined
signature. Panics if called with zero signatures.
Combines a non - empty collection of individual signatures into a combined signature . Panics if called with zero signatures .
fn combine_multi_sig_individuals(
        &self,
        signatures: BTreeMap<NodeId, IndividualMultiSigOf<H>>,
        registry_version: RegistryVersion,
    ) -> CryptoResult<CombinedMultiSigOf<H>> {
        let signature_count = signatures.len();
        let logger = new_logger!(&self.logger;
            crypto.trait_name => "MultiSigner",
            crypto.method_name => "combine_multi_sig_individuals",
            crypto.registry_version => registry_version.get(),
        );
        debug!(logger;
            crypto.description => format!("start; signature count: {}", signature_count),
        );
        let result = MultiSigVerifierInternal::combine_multi_sig_individuals(
            &self.csp,
            Arc::clone(&self.registry_client),
            signatures,
            registry_version,
        );
        debug!(logger;
            crypto.description => format!("end; signature count: {}", signature_count),
            crypto.is_ok => result.is_ok(),
            crypto.error => log_err(result.as_ref().err()),
        );
        result
    }
fn combine_multi_sig_individuals ( & self , signatures : BTreeMap < NodeId , IndividualMultiSigOf < H > > , registry_version : RegistryVersion , ) -> CryptoResult < CombinedMultiSigOf < H > > { let signature_count = signatures . len ( ) ; let logger = new_logger ! ( self logger crypto trait_name " " crypto method_name " " crypto registry_version registry_version get ( ) ) ; debug ! ( logger crypto description format ( " " signature_count ) ) ; let result = MultiSigVerifierInternal :: combine_multi_sig_individuals ( & self . csp , Arc :: clone ( & self . registry_client ) , signatures , registry_version , ) ; debug ! ( logger crypto description format ( " " signature_count ) crypto is_ok result is_ok ( ) crypto error log_err ( result as_ref ( ) err ( ) ) ) ; result }
Combines a non-empty collection of individual signatures into a combined
signature.
Combines a non - empty collection of individual signatures into a combined signature .
&self
signatures
BTreeMap<NodeId, IndividualMultiSigOf<H>>
registry_version
RegistryVersion