fedimint_ln_client

Function tweak_user_secret_key

Source
pub(crate) fn tweak_user_secret_key<Ctx: Verification + Signing>(
    secp: &Secp256k1<Ctx>,
    key_pair: Keypair,
    index: u64,
) -> Keypair
Expand description

Tweak a secret key with an index, this is used to claim an unspent incoming contract.