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

Function command_err_bcli_badjson

plugins/bcli.c:386–393  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

384}
385
386static struct command_result *command_err_bcli_badjson(struct bitcoin_cli *bcli,
387 const char *errmsg)
388{
389 char *err = tal_fmt(bcli, "%s: bad JSON: %s (%.*s)",
390 bcli_args(bcli), errmsg,
391 (int)bcli->output_bytes, bcli->output);
392 return command_done_err(bcli->cmd, BCLI_ERROR, err, NULL);
393}
394
395static struct command_result *process_getutxout(struct bitcoin_cli *bcli)
396{

Callers 4

process_getutxoutFunction · 0.85
process_getblockhashFunction · 0.85

Calls 2

bcli_argsFunction · 0.85
command_done_errFunction · 0.85

Tested by

no test coverage detected