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

Function end_done

plugins/renepay/mods.c:926–934  ·  view source on GitHub ↗

* end * * The default ending of a payment. */

Source from the content-addressed store, hash-verified

924 * The default ending of a payment.
925 */
926static struct command_result *end_done(struct command *cmd UNUSED,
927 const char *method UNUSED,
928 const char *buf UNUSED,
929 const jsmntok_t *result UNUSED,
930 struct payment *payment)
931{
932 return payment_fail(payment, PAY_STOPPED_RETRYING,
933 "Payment execution ended without success.");
934}
935static struct command_result *end_cb(struct payment *payment)
936{
937 struct command *cmd = payment_command(payment);

Callers

nothing calls this directly

Calls 1

payment_failFunction · 0.70

Tested by

no test coverage detected