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

Function towire_bool

wire/towire.c:93–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93void towire_bool(u8 **pptr, bool v)
94{
95 u8 val = v;
96 towire(pptr, &val, sizeof(val));
97}
98
99void towire_jsonrpc_errcode(u8 **pptr, enum jsonrpc_errcode v)
100{

Callers 5

towire_hsm_utxoFunction · 0.50
towire_tx_partsFunction · 0.50
towire_accountFunction · 0.50
towire_bool_valFunction · 0.50
towire_opt_boolFunction · 0.50

Calls 1

towireFunction · 0.70

Tested by

no test coverage detected