| 24 | static struct command_result cmd_failed; |
| 25 | |
| 26 | struct command_result *command_fail(struct command *cmd, |
| 27 | enum jsonrpc_errcode code, const char *fmt, ...) |
| 28 | { |
| 29 | failed = true; |
| 30 | va_list ap; |
| 31 | va_start(ap, fmt); |
| 32 | fail_msg = tal_vfmt(cmd, fmt, ap); |
| 33 | va_end(ap); |
| 34 | return &cmd_failed; |
| 35 | } |
| 36 | |
| 37 | /* AUTOGENERATED MOCKS START */ |
| 38 | /* Generated stub for deprecated_apis */ |
no outgoing calls
no test coverage detected