| 2059 | } |
| 2060 | |
| 2061 | void 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 | |
| 2071 | void payment_continue(struct payment *p) |
| 2072 | { |
no test coverage detected