tsend data_loss_protect fields if we support it - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 67f1ade7984e28ce6106c1db4ac803a424f6e8a4
DIR parent 9eddb9844c9ade83ce13eb9f19c88337c440a027
HTML Author: ThomasV <thomasv@electrum.org>
Date: Fri, 7 Jun 2019 12:28:06 +0200
send data_loss_protect fields if we support it
Diffstat:
M electrum/lnpeer.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
DIR diff --git a/electrum/lnpeer.py b/electrum/lnpeer.py
t@@ -703,8 +703,7 @@ class Peer(Logger):
self.network.trigger_callback('channel', chan)
current_remote_ctn = chan.config[REMOTE].ctn
# send message
- if self.their_localfeatures & LnLocalFeatures.OPTION_DATA_LOSS_PROTECT_REQ:
- self.logger.info('peer requires data loss protect')
+ if self.localfeatures & LnLocalFeatures.OPTION_DATA_LOSS_PROTECT_OPT:
if current_remote_ctn == 0:
last_rev_secret = 0
else: