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

Function param_channel_for_splice

lightningd/channel_control.c:2294–2309  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2292}
2293
2294static struct command_result *param_channel_for_splice(struct command *cmd,
2295 const char *name,
2296 const char *buffer,
2297 const jsmntok_t *tok,
2298 struct channel **channel)
2299{
2300 struct command_result *result;
2301 struct channel_id *cid;
2302
2303 result = param_channel_id(cmd, name, buffer, tok, &cid);
2304
2305 if (result != NULL)
2306 return result;
2307
2308 return channel_for_splice(cmd, cid, channel);
2309}
2310
2311static void destroy_splice_command(struct splice_command *cc)
2312{

Callers 2

json_stfu_channelsFunction · 0.85
json_abort_channelsFunction · 0.85

Calls 2

param_channel_idFunction · 0.85
channel_for_spliceFunction · 0.85

Tested by

no test coverage detected