mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-21 14:24:09 +01:00
Plugins/chanbackup: Add featurebit Peerstrg and YourPeerStrg.
This commit is contained in:
parent
93d03bf9e8
commit
2b1867aca3
1 changed files with 7 additions and 1 deletions
|
@ -7,6 +7,7 @@
|
|||
#include <ccan/read_write_all/read_write_all.h>
|
||||
#include <ccan/tal/str/str.h>
|
||||
#include <ccan/time/time.h>
|
||||
#include <common/features.h>
|
||||
#include <common/hsm_encryption.h>
|
||||
#include <common/json_param.h>
|
||||
#include <common/json_stream.h>
|
||||
|
@ -409,7 +410,12 @@ static const struct plugin_command commands[] = { {
|
|||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
setup_locale();
|
||||
setup_locale();
|
||||
struct feature_set *features = feature_set_for_feature(NULL, PEER_STORAGE_FEATURE);
|
||||
feature_set_or(features,
|
||||
take(feature_set_for_feature(NULL,
|
||||
YOUR_PEER_STORAGE_FEATURE)));
|
||||
|
||||
plugin_main(argv, init, PLUGIN_STATIC, true, NULL,
|
||||
commands, ARRAY_SIZE(commands),
|
||||
notifs, ARRAY_SIZE(notifs), NULL, 0,
|
||||
|
|
Loading…
Add table
Reference in a new issue