MCPcopy Create free account
hub / github.com/ElementsProject/lightning / htlc_received_wscript

Function htlc_received_wscript

common/htlc_tx.c:205–220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203}
204
205u8 *htlc_received_wscript(const tal_t *ctx,
206 const struct ripemd160 *ripemd,
207 const struct abs_locktime *expiry,
208 const struct keyset *keyset,
209 bool option_anchor_outputs,
210 bool option_anchors_zero_fee_htlc_tx)
211{
212 return bitcoin_wscript_htlc_receive_ripemd(ctx,
213 expiry,
214 &keyset->self_htlc_key,
215 &keyset->other_htlc_key,
216 ripemd,
217 &keyset->self_revocation_key,
218 option_anchor_outputs,
219 option_anchors_zero_fee_htlc_tx);
220}

Callers 2

add_received_htlc_outFunction · 0.50
add_htlcsFunction · 0.50

Tested by

no test coverage detected