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

Function json_add_num

common/json_stream.c:254–257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

252}
253
254void json_add_num(struct json_stream *result, const char *fieldname, unsigned int value)
255{
256 json_add_primitive_fmt(result, fieldname, "%u", value);
257}
258
259void json_add_u64(struct json_stream *result, const char *fieldname,
260 uint64_t value)

Callers 4

json_add_bolt11Function · 0.70
json_add_addressFunction · 0.70
json_add_lease_ratesFunction · 0.70

Calls 1

json_add_primitive_fmtFunction · 0.85

Tested by

no test coverage detected