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

Function destroy_payment

plugins/xpay/xpay.c:2551–2556  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2549}
2550
2551static void destroy_payment(struct payment *payment)
2552{
2553 struct xpay *xpay = xpay_of(payment->plugin);
2554
2555 list_del_from(&xpay->payments, &payment->list);
2556}
2557
2558/* Does NOT set:
2559 * ->maxparts

Callers

nothing calls this directly

Calls 2

xpay_ofFunction · 0.85
list_del_fromFunction · 0.85

Tested by

no test coverage detected