1
0

Move address_is_old to AddressSynchronizer.

Cache local_height at that level instead of wallet.synchronize
This commit is contained in:
ThomasV
2022-06-07 16:52:09 +02:00
parent 0ca3d66d15
commit 6e7ffa29ae
3 changed files with 26 additions and 25 deletions

View File

@@ -325,7 +325,7 @@ class WatchTower(LNWatcher):
LOGGING_SHORTCUT = 'W'
def __init__(self, network):
adb = AddressSynchronizer(WalletDB({}, manual_upgrades=False))
adb = AddressSynchronizer(WalletDB({}, manual_upgrades=False), network.config)
adb.start_network(network)
LNWatcher.__init__(self, adb, network)
self.network = network