tfix undefined name 'CHANNEL_INIT_TIMEOUT' - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 3966b51a946042a35e613331917711e7157720b9 DIR parent a78583e5d4f6238df8af022c35fbf85ec01d4f45 HTML Author: SomberNight <somber.night@protonmail.com> Date: Mon, 24 Feb 2020 15:12:27 +0100 fix undefined name 'CHANNEL_INIT_TIMEOUT' Diffstat: M electrum/lnworker.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- DIR diff --git a/electrum/lnworker.py b/electrum/lnworker.py t@@ -61,7 +61,7 @@ from .i18n import _ from .lnrouter import RouteEdge, LNPaymentRoute, is_route_sane_to_use from .address_synchronizer import TX_HEIGHT_LOCAL from . import lnsweep -from .lnwatcher import LNWalletWatcher +from .lnwatcher import LNWalletWatcher, CHANNEL_OPENING_TIMEOUT if TYPE_CHECKING: from .network import Network t@@ -674,7 +674,7 @@ class LNWallet(LNWorker): break else: now = int(time.time()) - if now - chan.storage.get('init_timestamp', 0) > CHANNEL_INIT_TIMEOUT: + if now - chan.storage.get('init_timestamp', 0) > CHANNEL_OPENING_TIMEOUT: self.remove_channel(chan.channel_id) async def update_open_channel(self, chan, funding_txid, funding_height):