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

Function sendonion_fail

plugins/renepay/routetracker.c:375–382  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

373}
374
375static struct command_result *
376sendonion_fail(struct command *aux_cmd, const char *method, const char *buffer,
377 const jsmntok_t *toks, struct payment *payment UNUSED)
378{
379 plugin_log(aux_cmd->plugin, LOG_DBG, "%s failed with: %.*s", method,
380 json_tok_full_len(toks), json_tok_full(buffer, toks));
381 return aux_command_done(aux_cmd);
382}
383
384struct command_result *route_sendpay_request(struct command *cmd,
385 struct route *route TAKES,

Callers

nothing calls this directly

Calls 4

aux_command_doneFunction · 0.85
plugin_logFunction · 0.50
json_tok_full_lenFunction · 0.50
json_tok_fullFunction · 0.50

Tested by

no test coverage detected