| 159 | }; |
| 160 | |
| 161 | static struct command_result * |
| 162 | preapprovekeysend_succeed(struct command *cmd, |
| 163 | const char *method, |
| 164 | const char *buf, |
| 165 | const jsmntok_t *result, |
| 166 | struct payment *p) |
| 167 | { |
| 168 | /* Now we can conclude `check` command */ |
| 169 | if (command_check_only(cmd)) { |
| 170 | return command_check_done(cmd); |
| 171 | } |
| 172 | |
| 173 | /* We're keeping this around now */ |
| 174 | tal_steal(cmd->plugin, notleak(p)); |
| 175 | payment_start(p); |
| 176 | return command_still_pending(cmd); |
| 177 | } |
| 178 | |
| 179 | static struct command_result *json_keysend(struct command *cmd, const char *buf, |
| 180 | const jsmntok_t *params) |
nothing calls this directly
no test coverage detected