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.
This commit is contained in:
shunyata 2013-12-12 17:36:17 -05:00
parent 7684c0543b
commit de1a0f5690
1 changed files with 2 additions and 0 deletions

View File

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