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

Function route_exclusions_data_init

plugins/libplugin-pay.c:3900–3911  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3898 payee_incoming_limit_step_cb);
3899
3900static struct route_exclusions_data *
3901route_exclusions_data_init(struct payment *p)
3902{
3903 struct route_exclusions_data *d;
3904 if (p->parent != NULL) {
3905 return payment_mod_route_exclusions_get_data(p->parent);
3906 } else {
3907 d = tal(p, struct route_exclusions_data);
3908 d->exclusions = NULL;
3909 }
3910 return d;
3911}
3912
3913static struct command_result *route_exclusions_step_cb(struct route_exclusions_data *d,
3914 struct payment *p)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected