mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 07:34:24 +01:00
mfc: rm declarations, invert ordering
Move only.
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user