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

Function towire_fulfilled_htlc

common/htlc_wire.c:147–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145}
146
147void towire_fulfilled_htlc(u8 **pptr, const struct fulfilled_htlc *fulfilled)
148{
149 towire_u64(pptr, fulfilled->id);
150 towire_preimage(pptr, &fulfilled->payment_preimage);
151}
152
153void towire_failed_htlc(u8 **pptr, const struct failed_htlc *failed)
154{

Callers

nothing calls this directly

Calls 2

towire_preimageFunction · 0.85
towire_u64Function · 0.50

Tested by

no test coverage detected