Use this instead of command_err_raw. */
| 380 | |
| 381 | /* Use this instead of command_err_raw. */ |
| 382 | static struct command_result * |
| 383 | mfc_err_raw(struct multifundchannel_command *mfc, const char *json_string) |
| 384 | { |
| 385 | struct mfc_err_raw_object *obj; |
| 386 | |
| 387 | obj = tal(mfc, struct mfc_err_raw_object); |
| 388 | obj->mfc = mfc; |
| 389 | obj->error = tal_strdup(obj, json_string); |
| 390 | |
| 391 | return mfc_cleanup(mfc, &mfc_err_raw_complete, obj); |
| 392 | } |
| 393 | struct command_result * |
| 394 | mfc_forward_error(struct command *cmd, |
| 395 | const char *buf, const jsmntok_t *error, |