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

Function towire_opt_bool

plugins/askrene/datastore_wire.c:92–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92static void towire_opt_bool(u8 **p, const bool *v)
93{
94 if (towire_bool_val(p, v != NULL))
95 towire_bool(p, *v);
96}
97
98static void towire_opt_amount_msat(u8 **p, const struct amount_msat *v)
99{

Callers 1

Calls 2

towire_bool_valFunction · 0.85
towire_boolFunction · 0.50

Tested by

no test coverage detected