From 67f1ade7984e28ce6106c1db4ac803a424f6e8a4 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Fri, 7 Jun 2019 12:28:06 +0200 Subject: [PATCH] send data_loss_protect fields if we support it --- electrum/lnpeer.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/electrum/lnpeer.py b/electrum/lnpeer.py index a9dd215d8..224821711 100644 --- a/electrum/lnpeer.py +++ b/electrum/lnpeer.py @@ -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: