| 2985 | } |
| 2986 | |
| 2987 | static struct command_result * |
| 2988 | preapprovekeysend_succeed(struct command *cmd, |
| 2989 | const char *method, |
| 2990 | const char *buf, |
| 2991 | const jsmntok_t *result, |
| 2992 | struct payment *payment) |
| 2993 | { |
| 2994 | /* Now we can conclude `check` command */ |
| 2995 | if (command_check_only(cmd)) { |
| 2996 | return command_check_done(cmd); |
| 2997 | } |
| 2998 | |
| 2999 | /* Actually we don't need a private layer, but unification is easy. */ |
| 3000 | return populate_private_layer(cmd, payment); |
| 3001 | } |
| 3002 | |
| 3003 | static struct command_result *json_xkeysend(struct command *cmd, |
| 3004 | const char *buf, |
nothing calls this directly
no test coverage detected