| 2332 | }; |
| 2333 | |
| 2334 | void payment_set_step(struct payment *p, enum payment_step newstep) |
| 2335 | { |
| 2336 | p->current_modifier = -1; |
| 2337 | p->step = newstep; |
| 2338 | |
| 2339 | /* Any final state needs an end_time */ |
| 2340 | if (p->step >= PAYMENT_STEP_SPLIT) |
| 2341 | p->end_time = clock_time(); |
| 2342 | } |
| 2343 | |
| 2344 | struct command_result *payment_continue(struct payment *p) |
| 2345 | { |
no test coverage detected