electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 67f1ade7984e28ce6106c1db4ac803a424f6e8a4
parent 9eddb9844c9ade83ce13eb9f19c88337c440a027
Author: ThomasV <thomasv@electrum.org>
Date:   Fri,  7 Jun 2019 12:28:06 +0200

send data_loss_protect fields if we support it

Diffstat:
Melectrum/lnpeer.py | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 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: