| 423 | } |
| 424 | |
| 425 | struct command_result * |
| 426 | mfc_finished(struct multifundchannel_command *mfc, |
| 427 | struct json_stream *response) |
| 428 | { |
| 429 | struct mfc_finished_object *obj; |
| 430 | |
| 431 | /* The response will be constructed by jsonrpc_stream_success, |
| 432 | which allocates off the command, so it should be safe to |
| 433 | just store it here. |
| 434 | */ |
| 435 | obj = tal(mfc, struct mfc_finished_object); |
| 436 | obj->mfc = mfc; |
| 437 | obj->cmd = mfc->cmd; |
| 438 | obj->response = response; |
| 439 | |
| 440 | return mfc_cleanup(mfc, &mfc_finished_complete, obj); |
| 441 | } |
| 442 | |
| 443 | /*---------------------------------------------------------------------------*/ |
| 444 | /*~ |
no outgoing calls
no test coverage detected