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

Function fromwire_fulfilled_htlc

common/htlc_wire.c:275–280  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

273}
274
275void fromwire_fulfilled_htlc(const u8 **cursor, size_t *max,
276 struct fulfilled_htlc *fulfilled)
277{
278 fulfilled->id = fromwire_u64(cursor, max);
279 fromwire_preimage(cursor, max, &fulfilled->payment_preimage);
280}
281
282struct failed_htlc *fromwire_failed_htlc(const tal_t *ctx, const u8 **cursor, size_t *max)
283{

Callers

nothing calls this directly

Calls 2

fromwire_preimageFunction · 0.85
fromwire_u64Function · 0.50

Tested by

no test coverage detected