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

Function routefail_end

plugins/renepay/routefail.c:46–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46static struct command_result *routefail_end(struct routefail *r TAKES)
47{
48 /* Notify the tracker that route has failed and routefail have completed
49 * handling all possible errors cases. */
50 struct command *cmd = r->cmd;
51 route_failure_register(r->payment->routetracker, r->route);
52 if (taken(r))
53 r = tal_steal(tmpctx, r);
54 return notification_handled(cmd);
55}
56
57/*****************************************************************************
58 * update_gossip

Callers 1

handle_failureFunction · 0.85

Calls 3

route_failure_registerFunction · 0.85
takenFunction · 0.85
notification_handledFunction · 0.50

Tested by

no test coverage detected