1
0

support option_static_remotekey

This commit is contained in:
ThomasV
2019-12-13 14:07:11 +01:00
parent 47d14c579b
commit 2255b07157
5 changed files with 54 additions and 23 deletions

View File

@@ -130,6 +130,7 @@ class LNWorker(Logger):
# note that e.g. DATA_LOSS_PROTECT is needed for LNGossip as many peers require it
self.localfeatures = LnLocalFeatures(0)
self.localfeatures |= LnLocalFeatures.OPTION_DATA_LOSS_PROTECT_OPT
self.localfeatures |= LnLocalFeatures.OPTION_STATIC_REMOTEKEY_OPT
def channels_for_peer(self, node_id):
return {}