pub fn aggregate_partial_signatures(
pks: Vec<PublicKey>,
tweak: Option<Musig2Mode>,
agg_nonce: AggregatedNonce,
partial_sigs: &[(PartialSignature, PublicNonce)],
message: Message,
) -> Result<Signature, BridgeError>Expand description
Aggregates the partial signatures into a single aggregated signature and verifies the aggregated signature. If PARTIAL_SIG_VERIFICATION is set to true, each partial signature will also be verified.