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

Function redo_multifundchannel

plugins/spender/multifundchannel.c:1795–1814  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1793}
1794
1795struct command_result *
1796redo_multifundchannel(struct multifundchannel_command *mfc,
1797 const char *failing_method,
1798 const char *why)
1799{
1800 struct multifundchannel_redo *redo;
1801
1802 assert(mfc->pending == 0);
1803
1804 plugin_log(mfc->cmd->plugin, LOG_DBG,
1805 "mfc %"PRIu64": trying redo despite '%s' failure (%s);"
1806 " will cleanup for now.",
1807 mfc->id, failing_method, why);
1808
1809 redo = tal(mfc, struct multifundchannel_redo);
1810 redo->mfc = mfc;
1811 redo->failing_method = failing_method;
1812
1813 return mfc_cleanup(mfc, &post_cleanup_redo_multifundchannel, redo);
1814}
1815
1816/*-----------------------------------------------------------------------------
1817Input Validation

Callers 4

after_channel_startFunction · 0.85
after_multiconnectFunction · 0.85

Calls 1

plugin_logFunction · 0.50

Tested by

no test coverage detected