interface for command line mode
This commit is contained in:
2
electrum
2
electrum
@@ -293,6 +293,8 @@ if __name__ == '__main__':
|
|||||||
|
|
||||||
# open session
|
# open session
|
||||||
if cmd not in offline_commands and not options.offline:
|
if cmd not in offline_commands and not options.offline:
|
||||||
|
wallet.interface = Interface(config)
|
||||||
|
wallet.interface.start()
|
||||||
WalletSynchronizer(wallet, config).start()
|
WalletSynchronizer(wallet, config).start()
|
||||||
wallet.update()
|
wallet.update()
|
||||||
wallet.save()
|
wallet.save()
|
||||||
|
|||||||
@@ -749,7 +749,7 @@ class Wallet:
|
|||||||
|
|
||||||
|
|
||||||
def update(self):
|
def update(self):
|
||||||
self.interface.poke()
|
self.interface.poke('synchronizer')
|
||||||
self.up_to_date_event.wait(10000000000)
|
self.up_to_date_event.wait(10000000000)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user