common/features: add payment_secret feature if EXPERIMENTAL.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2019-11-23 10:49:24 +10:30
parent 3b37c9d426
commit 8393d21503
6 changed files with 17 additions and 22 deletions

View File

@@ -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"