1
0

follow-up previous commit

This commit is contained in:
ThomasV
2020-04-03 18:54:02 +02:00
parent 06dfe1699c
commit aa32e31a3d
4 changed files with 4 additions and 2 deletions

View File

@@ -55,6 +55,7 @@ from .lnsweep import create_sweeptx_for_their_revoked_htlc, SweepInfo
from .lnhtlc import HTLCManager
from .lnmsg import encode_msg, decode_msg
from .address_synchronizer import TX_HEIGHT_LOCAL
from .lnutil import CHANNEL_OPENING_TIMEOUT
if TYPE_CHECKING:
from .lnworker import LNWallet

View File

@@ -175,6 +175,8 @@ DEFAULT_TO_SELF_DELAY = 144
REDEEM_AFTER_DOUBLE_SPENT_DELAY = 30
CHANNEL_OPENING_TIMEOUT = 24*60*60
##### CLTV-expiry-delta-related values
# see https://github.com/lightningnetwork/lightning-rfc/blob/master/02-peer-protocol.md#cltv_expiry_delta-selection

View File

@@ -329,7 +329,6 @@ class WatchTower(LNWatcher):
CHANNEL_OPENING_TIMEOUT = 24*60*60
class LNWalletWatcher(LNWatcher):

View File

@@ -63,7 +63,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, CHANNEL_OPENING_TIMEOUT
from .lnwatcher import LNWalletWatcher
if TYPE_CHECKING:
from .network import Network