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

Function towire_fulfilled_htlc

common/htlc_wire.c:125–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123}
124
125void towire_fulfilled_htlc(u8 **pptr, const struct fulfilled_htlc *fulfilled)
126{
127 towire_u64(pptr, fulfilled->id);
128 towire_preimage(pptr, &fulfilled->payment_preimage);
129}
130
131void towire_failed_htlc(u8 **pptr, const struct failed_htlc *failed)
132{

Callers

nothing calls this directly

Calls 2

towire_preimageFunction · 0.85
towire_u64Function · 0.50

Tested by

no test coverage detected