Function get_htlc_redeemscript
pub fn get_htlc_redeemscript(
htlc: &HTLCOutputInCommitment,
channel_type_features: &Features<ChannelTypeContext>,
keys: &TxCreationKeys,
) -> ScriptBuf
Expand description
Gets the witness redeemscript for an HTLC output in a commitment transaction. Note that htlc does not need to have its previous_output_index filled.