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

Function mw_after_cleanup

plugins/spender/multiwithdraw.c:264–277  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

262 return send_outreq(mw->cmd->plugin, req);
263}
264static struct command_result *
265mw_after_cleanup(struct command *cmd UNUSED,
266 const char *buf UNUSED,
267 const jsmntok_t *result UNUSED,
268 struct multiwithdraw_cleanup *cleanup)
269{
270 struct multiwithdraw_command *mw = cleanup->mw;
271
272 plugin_log(mw->cmd->plugin, LOG_DBG,
273 "multiwithdraw %"PRIu64": cleanup, unreserveinputs done.",
274 mw->id);
275
276 return command_err_raw(mw->cmd, cleanup->error_json);
277}
278
279/* Use this instead of forward_error. */
280static struct command_result *

Callers

nothing calls this directly

Calls 2

command_err_rawFunction · 0.85
plugin_logFunction · 0.50

Tested by

no test coverage detected