Browse Source

wallet.synchronizer should exist at construction.

The `self.synchronizer` attribute is accessed before it ever exists when using
`electrum importprivkey` on the command line. This change sets it to None,
which is a valid state, in the wallet's constructor.
283
shunyata 11 years ago
parent
commit
de1a0f5690
  1. 2
      lib/wallet.py

2
lib/wallet.py

@ -186,6 +186,8 @@ class Wallet:
print msg
sys.exit(1)
# This attribute is set when wallet.start_threads is called.
self.synchronizer = None
self.load_accounts()

Loading…
Cancel
Save