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

Function param_outpoint

lightningd/closing_control.c:517–528  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

515}
516
517static struct command_result *param_outpoint(struct command *cmd,
518 const char *name,
519 const char *buffer,
520 const jsmntok_t *tok,
521 struct bitcoin_outpoint **outp)
522{
523 *outp = tal(cmd, struct bitcoin_outpoint);
524 if (json_to_outpoint(buffer, tok, *outp))
525 return NULL;
526 return command_fail_badparam(cmd, name, buffer, tok,
527 "should be a txid:outnum");
528}
529
530static struct command_result *param_feerate_range(struct command *cmd,
531 const char *name,

Callers

nothing calls this directly

Calls 2

command_fail_badparamFunction · 0.85
json_to_outpointFunction · 0.50

Tested by

no test coverage detected