| 2348 | }; |
| 2349 | |
| 2350 | void 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 | |
| 2360 | struct command_result *payment_continue(struct payment *p) |
| 2361 | { |
no test coverage detected