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

Function payment_set_step

plugins/libplugin-pay.c:2061–2069  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2059}
2060
2061void payment_set_step(struct payment *p, enum payment_step newstep)
2062{
2063 p->current_modifier = -1;
2064 p->step = newstep;
2065
2066 /* Any final state needs an end_time */
2067 if (p->step >= PAYMENT_STEP_SPLIT)
2068 p->end_time = time_now();
2069}
2070
2071void payment_continue(struct payment *p)
2072{

Callers 10

payment_abortFunction · 0.85
payment_failFunction · 0.85
retry_step_cbFunction · 0.85
direct_pay_overrideFunction · 0.85
waitblockheight_rpc_cbFunction · 0.85
waitblockheight_cbFunction · 0.85
presplit_cbFunction · 0.85

Calls 1

time_nowFunction · 0.85

Tested by

no test coverage detected