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

Function nothaveresults_cb

plugins/renepay/mods.c:1264–1267  ·  view source on GitHub ↗

* nothaveresults * * A payment condition that returns true if the payment has not yet * collected enough results to decide whether the payment has succeed, * failed or need retrying. */

Source from the content-addressed store, hash-verified

1262 * failed or need retrying.
1263 */
1264static bool nothaveresults_cb(const struct payment *payment)
1265{
1266 return !payment->have_results;
1267}
1268
1269REGISTER_PAYMENT_CONDITION(nothaveresults, nothaveresults_cb);
1270

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected