MCPcopy Create free account
hub / github.com/ElementsProject/lightning / mfc_finished

Function mfc_finished

plugins/spender/multifundchannel.c:425–441  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

423}
424
425struct command_result *
426mfc_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/*~

Callers 3

openchannel_finishedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected