mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
common/features: add payment_secret feature if EXPERIMENTAL.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -9,8 +9,8 @@ COMPAT = env("COMPAT", "1") == "1"
|
||||
def expected_features():
|
||||
"""Return the expected features hexstring for this configuration"""
|
||||
if EXPERIMENTAL_FEATURES:
|
||||
# features 1, 3, 7, 9, 11 and 13 (0x2aa2).
|
||||
return "2aa2"
|
||||
# features 1, 3, 7, 9, 11, 13 and 15 (0xaaa2).
|
||||
return "aaa2"
|
||||
else:
|
||||
# features 1, 3, 7, 11 and 13 (0x28a2).
|
||||
return "28a2"
|
||||
|
||||
Reference in New Issue
Block a user