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

Function redo_multifundchannel

plugins/spender/multifundchannel.c:1845–1864  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1843}
1844
1845struct command_result *
1846redo_multifundchannel(struct multifundchannel_command *mfc,
1847 const char *failing_method,
1848 const char *why)
1849{
1850 struct multifundchannel_redo *redo;
1851
1852 assert(mfc->pending == 0);
1853
1854 plugin_log(mfc->cmd->plugin, LOG_DBG,
1855 "mfc %"PRIu64": trying redo despite '%s' failure (%s);"
1856 " will cleanup for now.",
1857 mfc->id, failing_method, why);
1858
1859 redo = tal(mfc, struct multifundchannel_redo);
1860 redo->mfc = mfc;
1861 redo->failing_method = failing_method;
1862
1863 return mfc_cleanup(mfc, &post_cleanup_redo_multifundchannel, redo);
1864}
1865
1866/*-----------------------------------------------------------------------------
1867Input Validation

Callers 4

after_channel_startFunction · 0.85
after_multiconnectFunction · 0.85

Calls 1

plugin_logFunction · 0.50

Tested by

no test coverage detected