lnpeer+wallet: use channel type for channel open
* channel_type is put into storage, serialized as int and deserialized as ChannelType * check for static_remotekey is done via channel type
This commit is contained in:
@@ -1169,6 +1169,7 @@ LN_FEATURES_IMPLEMENTED = (
|
||||
| LnFeatures.BASIC_MPP_OPT | LnFeatures.BASIC_MPP_REQ
|
||||
| LnFeatures.OPTION_TRAMPOLINE_ROUTING_OPT | LnFeatures.OPTION_TRAMPOLINE_ROUTING_REQ
|
||||
| LnFeatures.OPTION_SHUTDOWN_ANYSEGWIT_OPT | LnFeatures.OPTION_SHUTDOWN_ANYSEGWIT_REQ
|
||||
| LnFeatures.OPTION_CHANNEL_TYPE_OPT | LnFeatures.OPTION_CHANNEL_TYPE_REQ
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user