mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 23:24:27 +01:00
plugins/spender/multifundchannel.c: Move multifundchannel to the spenderp plugin.
This commit is contained in:
committed by
Rusty Russell
parent
976c6e5c83
commit
f6c145d2df
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user