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

Function jsonrpc_stream_fail_data

plugins/libplugin.c:274–282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

272}
273
274struct json_stream *jsonrpc_stream_fail_data(struct command *cmd,
275 int code,
276 const char *err)
277{
278 struct json_stream *js = jsonrpc_stream_fail(cmd, code, err);
279
280 json_object_start(js, "data");
281 return js;
282}
283
284static struct command_result *command_complete(struct command *cmd,
285 struct json_stream *result)

Callers 2

openchannel_finishedFunction · 0.85

Calls 2

jsonrpc_stream_failFunction · 0.70
json_object_startFunction · 0.50

Tested by

no test coverage detected