mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-09 08:04:19 +01:00
common: support opt_shutdown_anysegwit checks (EXPERIMENTAL_FEATURES).
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -26,6 +26,8 @@ def expected_peer_features(wumbo_channels=False, extra=[]):
|
||||
features += [103]
|
||||
# option_anchor_outputs
|
||||
features += [21]
|
||||
# option_shutdown_anysegwit
|
||||
features += [27]
|
||||
if wumbo_channels:
|
||||
features += [19]
|
||||
return hex_bits(features + extra)
|
||||
@@ -41,6 +43,8 @@ def expected_node_features(wumbo_channels=False, extra=[]):
|
||||
features += [103]
|
||||
# option_anchor_outputs
|
||||
features += [21]
|
||||
# option_shutdown_anysegwit
|
||||
features += [27]
|
||||
if wumbo_channels:
|
||||
features += [19]
|
||||
return hex_bits(features + extra)
|
||||
|
||||
Reference in New Issue
Block a user