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

Function mw_after_cleanup

plugins/spender/multiwithdraw.c:262–276  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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