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

Function payment_set_step

plugins/libplugin-pay.c:2350–2358  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2348};
2349
2350void payment_set_step(struct payment *p, enum payment_step newstep)
2351{
2352 p->current_modifier = -1;
2353 p->step = newstep;
2354
2355 /* Any final state needs an end_time */
2356 if (p->step >= PAYMENT_STEP_SPLIT)
2357 p->end_time = clock_time();
2358}
2359
2360struct command_result *payment_continue(struct payment *p)
2361{

Callers 7

payment_abortFunction · 0.85
payment_failFunction · 0.85
retry_step_cbFunction · 0.85
direct_pay_overrideFunction · 0.85

Calls 1

clock_timeFunction · 0.85

Tested by

no test coverage detected