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

Function datastore_list_fail

plugins/funder.c:965–981  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

963}
964
965static struct command_result *
966datastore_list_fail(struct command *cmd,
967 const char *method,
968 const char *buf,
969 const jsmntok_t *error,
970 struct open_info *info)
971{
972 /* Oops, something's broken */
973 plugin_log(cmd->plugin, LOG_BROKEN,
974 "`datastore` list failed: %.*s",
975 json_tok_full_len(error),
976 json_tok_full(buf, error));
977
978 /* Figure out what our funds are... same flow
979 * as with openchannel2 callback. */
980 return funding_queue_join(cmd, info);
981}
982
983static struct command_result *
984datastore_list_success(struct command *cmd,

Callers

nothing calls this directly

Calls 4

funding_queue_joinFunction · 0.85
plugin_logFunction · 0.70
json_tok_full_lenFunction · 0.50
json_tok_fullFunction · 0.50

Tested by

no test coverage detected