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.