Browse Source

interface for command line mode

283
ThomasV 12 years ago
parent
commit
33eb749c6a
  1. 2
      electrum
  2. 2
      lib/wallet.py

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()

2
lib/wallet.py

@ -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)

Loading…
Cancel
Save