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

Function towire_opt_u16

plugins/askrene/datastore_wire.c:86–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86static void towire_opt_u16(u8 **p, const u16 *v)
87{
88 if (towire_bool_val(p, v != NULL))
89 towire_u16(p, *v);
90}
91
92static void towire_opt_bool(u8 **p, const bool *v)
93{

Callers 1

Calls 2

towire_bool_valFunction · 0.85
towire_u16Function · 0.50

Tested by

no test coverage detected