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

Function listfunds_failed

plugins/funder.c:804–825  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

802}
803
804static struct command_result *
805listfunds_failed(struct command *cmd,
806 const char *method,
807 const char *buf,
808 const jsmntok_t *error,
809 struct open_info *info)
810{
811
812 /* Something went wrong fetching the funds info
813 * for our wallet. Just keep going */
814 plugin_log(cmd->plugin, LOG_INFORM,
815 "Unable to fetch wallet funds info."
816 " Continuing channel open to %s"
817 " without our participation. err %.*s",
818 fmt_node_id(tmpctx,
819 &info->id),
820 json_tok_full_len(error),
821 json_tok_full(buf, error));
822
823 funding_queue_done(info);
824 return command_hook_success(cmd);
825}
826
827static struct command_result *send_listfunds(struct command *cmd,
828 struct open_info *info)

Callers

nothing calls this directly

Calls 6

fmt_node_idFunction · 0.85
funding_queue_doneFunction · 0.85
plugin_logFunction · 0.70
command_hook_successFunction · 0.70
json_tok_full_lenFunction · 0.50
json_tok_fullFunction · 0.50

Tested by

no test coverage detected