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