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

Function datastore_add_fail

plugins/funder.c:169–183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167}
168
169static struct command_result *
170datastore_add_fail(struct command *cmd,
171 const char *method,
172 const char *buf,
173 const jsmntok_t *error,
174 struct wally_psbt *signed_psbt)
175{
176 /* Oops, something's broken */
177 plugin_log(cmd->plugin, LOG_BROKEN,
178 "%s failed: %.*s",
179 method, json_tok_full_len(error),
180 json_tok_full(buf, error));
181
182 return command_hook_cont_psbt(cmd, signed_psbt);
183}
184
185static struct command_result *
186datastore_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