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

Function payment_root

plugins/libplugin-pay.c:173–179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171}
172
173struct payment *payment_root(struct payment *p)
174{
175 if (p->parent == NULL)
176 return p;
177 else
178 return payment_root(p->parent);
179}
180
181static const char *paymod_log_header(const tal_t *ctx,
182 struct payment *p)

Callers 15

payment_cmdFunction · 0.85
payment_newFunction · 0.85
channel_hints_updateFunction · 0.85
payment_chanhints_getFunction · 0.85
payment_route_checkFunction · 0.85
payment_getrouteFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected