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

Function mw_after_cleanup

plugins/spender/multiwithdraw.c:260–274  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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