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

Function mfc_finished

plugins/spender/multifundchannel.c:418–434  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

416}
417
418struct command_result *
419mfc_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/*~

Callers 3

openchannel_finishedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected