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

Function param_id_addr_string

lightningd/connect_control.c:129–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127}
128
129static struct command_result *param_id_addr_string(struct command *cmd,
130 const char *name,
131 const char *buffer,
132 const jsmntok_t *tok,
133 const char **addr)
134{
135 if (*addr) {
136 return command_fail(cmd, JSONRPC2_INVALID_PARAMS,
137 "Can't specify host as both xxx@yyy "
138 "and separate argument");
139 }
140 return param_string(cmd, name, buffer, tok, addr);
141}
142
143static struct command_result *param_id_addr_u16(struct command *cmd,
144 const char *name,

Callers

nothing calls this directly

Calls 2

param_stringFunction · 0.85
command_failFunction · 0.70

Tested by

no test coverage detected