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

Function fromwire_fulfilled_htlc

common/htlc_wire.c:234–239  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

232}
233
234void fromwire_fulfilled_htlc(const u8 **cursor, size_t *max,
235 struct fulfilled_htlc *fulfilled)
236{
237 fulfilled->id = fromwire_u64(cursor, max);
238 fromwire_preimage(cursor, max, &fulfilled->payment_preimage);
239}
240
241struct failed_htlc *fromwire_failed_htlc(const tal_t *ctx, const u8 **cursor, size_t *max)
242{

Callers

nothing calls this directly

Calls 2

fromwire_preimageFunction · 0.85
fromwire_u64Function · 0.50

Tested by

no test coverage detected