mfc: rm declarations, invert ordering

Move only.
This commit is contained in:
niftynei
2021-03-09 15:58:03 -06:00
committed by Rusty Russell
parent 068dc8f5d2
commit f1113c3208

View File

@@ -419,22 +419,6 @@ param_destinations_array(struct command *cmd, const char *name,
return NULL; return NULL;
} }
/*-----------------------------------------------------------------------------
Command Processing
-----------------------------------------------------------------------------*/
/* Function to redo multifundchannel after a failure.
*/
static struct command_result *
perform_multiconnect(struct multifundchannel_command *mfc);
/* Initiate the multifundchannel execution. */
static struct command_result *
perform_multifundchannel(struct multifundchannel_command *mfc)
{
return perform_multiconnect(mfc);
}
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
/*~ /*~
First, connect to all the peers. First, connect to all the peers.
@@ -597,6 +581,10 @@ connect_dest(struct multifundchannel_destination *dest)
send_outreq(cmd->plugin, req); send_outreq(cmd->plugin, req);
} }
/*-----------------------------------------------------------------------------
Starting
-----------------------------------------------------------------------------*/
/* Initiate the multiconnect. */ /* Initiate the multiconnect. */
static struct command_result * static struct command_result *
perform_multiconnect(struct multifundchannel_command *mfc) perform_multiconnect(struct multifundchannel_command *mfc)
@@ -615,6 +603,14 @@ perform_multiconnect(struct multifundchannel_command *mfc)
return command_still_pending(mfc->cmd); return command_still_pending(mfc->cmd);
} }
/* Initiate the multifundchannel execution. */
static struct command_result *
perform_multifundchannel(struct multifundchannel_command *mfc)
{
return perform_multiconnect(mfc);
}
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
/*~ Create an initial funding PSBT. /*~ Create an initial funding PSBT.