mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
lightningd: control onion messages by experimental-onion-messages option.
Note that this also changes so the feature is not represented in channels, reflecting the recent drafts. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-Added: `experimental-onion-messages` enables send, receive and relay of onion messages.
This commit is contained in:
committed by
Christian Decker
parent
5a483ddd8b
commit
fc3e679c97
@@ -49,9 +49,6 @@ def expected_node_features(wumbo_channels=False, extra=[]):
|
||||
def expected_channel_features(wumbo_channels=False, extra=[]):
|
||||
"""Return the expected channel features hexstring for this configuration"""
|
||||
features = []
|
||||
if EXPERIMENTAL_FEATURES:
|
||||
# OPT_ONION_MESSAGES
|
||||
features += [103]
|
||||
return hex_bits(features + extra)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user