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

Function json_strfield

common/test/run-onion-message-test.c:78–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78static void json_strfield(const char *name, const char *val)
79{
80 flush_comma();
81 printf("\t\"%s\": \"%s\"", name, val);
82 maybe_comma();
83}
84
85static void json_hexfield(const char *name, const u8 *val, size_t len)
86{

Callers 5

json_hexfieldFunction · 0.70
json_hex_talfieldFunction · 0.70
json_pubkeyFunction · 0.70
add_hopFunction · 0.70
mainFunction · 0.70

Calls 2

flush_commaFunction · 0.85
maybe_commaFunction · 0.85

Tested by

no test coverage detected