Function receive_keyshares

Source
pub async fn receive_keyshares<S, R>(
    setup: S,
    relay: R,
) -> Result<Scalar, KeyExportError>
where S: KeyExportReceiverSetupMessage<ReusableSecret>, R: Relay,
Expand description

Receive exported key shares, combine them and calculate private key.