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

Function payment_root

plugins/libplugin-pay.c:129–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127}
128
129struct payment *payment_root(struct payment *p)
130{
131 if (p->parent == NULL)
132 return p;
133 else
134 return payment_root(p->parent);
135}
136
137static void
138paymod_log_header(struct payment *p, const char **type, u64 *id)

Callers 15

payment_newFunction · 0.85
paymod_log_headerFunction · 0.85
channel_hints_updateFunction · 0.85
payment_chanhints_getFunction · 0.85
payment_route_checkFunction · 0.85
payment_getrouteFunction · 0.85
handle_final_failureFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected