| 41 | static struct command_result cmd_failed; |
| 42 | |
| 43 | struct command_result *command_fail(struct command *cmd, |
| 44 | enum jsonrpc_errcode code, const char *fmt, ...) |
| 45 | { |
| 46 | failed = true; |
| 47 | va_list ap; |
| 48 | va_start(ap, fmt); |
| 49 | fail_msg = tal_vfmt(cmd, fmt, ap); |
| 50 | va_end(ap); |
| 51 | return &cmd_failed; |
| 52 | } |
| 53 | |
| 54 | bool command_deprecated_in_ok(struct command *cmd, |
| 55 | const char *param, |
no outgoing calls
no test coverage detected