mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
peer storage: advertise features as optional
Fixes: #6002 Changelog-None
This commit is contained in:
committed by
Rusty Russell
parent
1800139dbe
commit
2c7ceb8a21
@@ -1081,9 +1081,11 @@ static char *opt_set_shutdown_wrong_funding(struct lightningd *ld)
|
||||
static char *opt_set_peer_storage(struct lightningd *ld)
|
||||
{
|
||||
feature_set_or(ld->our_features,
|
||||
take(feature_set_for_feature(NULL, OPT_PROVIDE_PEER_BACKUP_STORAGE)));
|
||||
take(feature_set_for_feature(NULL,
|
||||
OPTIONAL_FEATURE(OPT_PROVIDE_PEER_BACKUP_STORAGE))));
|
||||
feature_set_or(ld->our_features,
|
||||
take(feature_set_for_feature(NULL, OPT_WANT_PEER_BACKUP_STORAGE)));
|
||||
take(feature_set_for_feature(NULL,
|
||||
OPTIONAL_FEATURE(OPT_WANT_PEER_BACKUP_STORAGE))));
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user