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

Function fromwire_opt_wirestring

plugins/askrene/datastore_wire.c:72–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72static const char *fromwire_opt_wirestring(const tal_t *ctx,
73 const u8 **cursor, size_t *len)
74{
75 if (!fromwire_bool(cursor, len))
76 return NULL;
77 return fromwire_wirestring(ctx, cursor, len);
78}
79
80static void towire_opt_u32(u8 **p, const u32 *v)
81{

Callers 3

Calls 2

fromwire_boolFunction · 0.50
fromwire_wirestringFunction · 0.50

Tested by

no test coverage detected