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

Function datastore_add_fail

plugins/funder.c:175–189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

173}
174
175static struct command_result *
176datastore_add_fail(struct command *cmd,
177 const char *method,
178 const char *buf,
179 const jsmntok_t *error,
180 struct wally_psbt *signed_psbt)
181{
182 /* Oops, something's broken */
183 plugin_log(cmd->plugin, LOG_BROKEN,
184 "%s failed: %.*s",
185 method, json_tok_full_len(error),
186 json_tok_full(buf, error));
187
188 return command_hook_cont_psbt(cmd, signed_psbt);
189}
190
191static struct command_result *
192datastore_add_success(struct command *cmd,

Callers

nothing calls this directly

Calls 4

command_hook_cont_psbtFunction · 0.85
plugin_logFunction · 0.70
json_tok_full_lenFunction · 0.50
json_tok_fullFunction · 0.50

Tested by

no test coverage detected