| 1843 | } |
| 1844 | |
| 1845 | struct command_result * |
| 1846 | redo_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 | /*----------------------------------------------------------------------------- |
| 1867 | Input Validation |
no test coverage detected