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

Function htlc_offered_wscript

common/htlc_tx.c:175–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

173}
174
175u8 *htlc_offered_wscript(const tal_t *ctx,
176 const struct ripemd160 *ripemd,
177 const struct keyset *keyset,
178 bool option_anchor_outputs)
179{
180 return bitcoin_wscript_htlc_offer_ripemd160(ctx,
181 &keyset->self_htlc_key,
182 &keyset->other_htlc_key,
183 ripemd,
184 &keyset->self_revocation_key,
185 option_anchor_outputs);
186}
187
188u8 *htlc_received_wscript(const tal_t *ctx,
189 const struct ripemd160 *ripemd,

Callers 2

add_offered_htlc_outFunction · 0.50
add_htlcsFunction · 0.50

Tested by

no test coverage detected