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

Function listfunds_failed

plugins/funder.c:503–522  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

501}
502
503static struct command_result *
504listfunds_failed(struct command *cmd,
505 const char *buf,
506 const jsmntok_t *error,
507 struct open_info *info)
508{
509
510 /* Something went wrong fetching the funds info
511 * for our wallet. Just keep going */
512 plugin_log(cmd->plugin, LOG_INFORM,
513 "Unable to fetch wallet funds info."
514 " Continuing channel open to %s"
515 " without our participation. err %.*s",
516 type_to_string(tmpctx, struct node_id,
517 &info->id),
518 json_tok_full_len(error),
519 json_tok_full(buf, error));
520
521 return command_hook_success(cmd);
522}
523
524static struct command_result *
525json_openchannel2_call(struct command *cmd,

Callers

nothing calls this directly

Calls 5

command_hook_successFunction · 0.85
plugin_logFunction · 0.70
type_to_stringClass · 0.50
json_tok_full_lenFunction · 0.50
json_tok_fullFunction · 0.50

Tested by

no test coverage detected