Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
74
void towire_bool(u8 **pptr, bool v)
75
{
76
u8 val = v;
77
towire(pptr, &val, sizeof(val));
78
}
79
80
void towire_jsonrpc_errcode(u8 **pptr, enum jsonrpc_errcode v)
81
{
Callers
1
towire_tx_parts
Function · 0.50
Calls
1
towire
Function · 0.70
Tested by
no test coverage detected