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

Function towire_bool

wire/towire.c:74–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74void towire_bool(u8 **pptr, bool v)
75{
76 u8 val = v;
77 towire(pptr, &val, sizeof(val));
78}
79
80void towire_jsonrpc_errcode(u8 **pptr, enum jsonrpc_errcode v)
81{

Callers 1

towire_tx_partsFunction · 0.50

Calls 1

towireFunction · 0.70

Tested by

no test coverage detected