Use this instead of forward_error. */
| 278 | |
| 279 | /* Use this instead of forward_error. */ |
| 280 | static struct command_result * |
| 281 | mw_forward_error(struct command *cmd UNUSED, |
| 282 | const char *buf, |
| 283 | const jsmntok_t *error, |
| 284 | struct multiwithdraw_command *mw) |
| 285 | { |
| 286 | return mw_perform_cleanup(mw, |
| 287 | take(json_strdup(NULL, buf, error))); |
| 288 | } |
| 289 | /* Use this instead of command_fail. */ |
| 290 | static struct command_result * |
| 291 | mw_fail(struct multiwithdraw_command *mw, enum jsonrpc_errcode code, |
nothing calls this directly
no test coverage detected