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