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

Function htlc_received_wscript

common/htlc_tx.c:188–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186}
187
188u8 *htlc_received_wscript(const tal_t *ctx,
189 const struct ripemd160 *ripemd,
190 const struct abs_locktime *expiry,
191 const struct keyset *keyset,
192 bool option_anchor_outputs)
193{
194 return bitcoin_wscript_htlc_receive_ripemd(ctx,
195 expiry,
196 &keyset->self_htlc_key,
197 &keyset->other_htlc_key,
198 ripemd,
199 &keyset->self_revocation_key,
200 option_anchor_outputs);
201}

Callers 2

add_received_htlc_outFunction · 0.50
add_htlcsFunction · 0.50

Tested by

no test coverage detected