use proxy with command line too
This commit is contained in:
parent
cfce1420c5
commit
a27fba8685
4
electrum
4
electrum
|
@ -238,7 +238,7 @@ if __name__ == '__main__':
|
||||||
wallet.seed = str(seed)
|
wallet.seed = str(seed)
|
||||||
wallet.init_mpk( wallet.seed )
|
wallet.init_mpk( wallet.seed )
|
||||||
if not options.offline:
|
if not options.offline:
|
||||||
WalletSynchronizer(wallet).start()
|
WalletSynchronizer(wallet, proxy=proxy).start()
|
||||||
print "Recovering wallet..."
|
print "Recovering wallet..."
|
||||||
wallet.up_to_date_event.clear()
|
wallet.up_to_date_event.clear()
|
||||||
wallet.up_to_date = False
|
wallet.up_to_date = False
|
||||||
|
@ -281,7 +281,7 @@ 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:
|
||||||
WalletSynchronizer(wallet).start()
|
WalletSynchronizer(wallet, proxy=proxy).start()
|
||||||
wallet.update()
|
wallet.update()
|
||||||
wallet.save()
|
wallet.save()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue