1
0

walletDB: replace 'manual_upgrades' parameter with 'upgrade', with opposite semantics

This commit is contained in:
ThomasV
2023-09-22 11:49:53 +02:00
parent b5bc5ff9ed
commit 68159b3ef6
12 changed files with 32 additions and 32 deletions

View File

@@ -325,7 +325,7 @@ class WatchTower(LNWatcher):
LOGGING_SHORTCUT = 'W'
def __init__(self, network: 'Network'):
adb = AddressSynchronizer(WalletDB('', storage=None, manual_upgrades=False), network.config, name=self.diagnostic_name())
adb = AddressSynchronizer(WalletDB('', storage=None, upgrade=True), network.config, name=self.diagnostic_name())
adb.start_network(network)
LNWatcher.__init__(self, adb, network)
self.network = network