mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 13:25:43 +01:00
mfc: rm declarations, invert ordering
Move only.
This commit is contained in:
parent
068dc8f5d2
commit
f1113c3208
@ -419,22 +419,6 @@ param_destinations_array(struct command *cmd, const char *name,
|
||||
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.
|
||||
@ -597,6 +581,10 @@ connect_dest(struct multifundchannel_destination *dest)
|
||||
send_outreq(cmd->plugin, req);
|
||||
}
|
||||
|
||||
/*-----------------------------------------------------------------------------
|
||||
Starting
|
||||
-----------------------------------------------------------------------------*/
|
||||
|
||||
/* Initiate the multiconnect. */
|
||||
static struct command_result *
|
||||
perform_multiconnect(struct multifundchannel_command *mfc)
|
||||
@ -615,6 +603,14 @@ perform_multiconnect(struct multifundchannel_command *mfc)
|
||||
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.
|
||||
|
Loading…
Reference in New Issue
Block a user