breez_sdk_liquid::lightning::ln::chan_utils

Function build_htlc_input_witness

pub fn build_htlc_input_witness(
    local_sig: &Signature,
    remote_sig: &Signature,
    preimage: &Option<PaymentPreimage>,
    redeem_script: &Script,
    channel_type_features: &Features<ChannelTypeContext>,
) -> Witness
Expand description

Returns the witness required to satisfy and spend a HTLC input.