plugins/spender/multifundchannel.c: Move multifundchannel to the spenderp plugin.

This commit is contained in:
ZmnSCPxj jxPCSnmZ
2020-08-21 17:31:33 +08:00
committed by Rusty Russell
parent 976c6e5c83
commit f6c145d2df
4 changed files with 16 additions and 36 deletions

View File

@@ -1,6 +1,7 @@
#include <common/utils.h>
#include <plugins/libplugin.h>
#include <plugins/spender/multiwithdraw.h>
#include <plugins/spender/multifundchannel.h>
/*~ The spender plugin contains various commands that handle
* spending from the onchain wallet. */
@@ -21,6 +22,7 @@ int main(int argc, char **argv)
commands = tal_arr(owner, struct plugin_command, 0);
tal_expand(&commands, multiwithdraw_commands, num_multiwithdraw_commands);
tal_expand(&commands, multifundchannel_commands, num_multifundchannel_commands);
/* tal_expand(&commands, whatever_commands, num_whatever_commands); */
plugin_main(argv, &spender_init, PLUGIN_STATIC, true,