Only root has a non-NULL cmd ptr */
| 71 | |
| 72 | /* Only root has a non-NULL cmd ptr */ |
| 73 | static struct command *payment_cmd(struct payment *p) |
| 74 | { |
| 75 | return payment_root(p)->cmd; |
| 76 | } |
| 77 | |
| 78 | struct payment *payment_new(tal_t *ctx, struct command *cmd, |
| 79 | struct payment *parent, |
no test coverage detected