spesmilo/electrum — pull request #32 by bkkcoins (2012-09-20 09:53:59+00:00)
Title: fix offline restore

I ran into an issue with restoring a wallet when offline. In this case the wallet is restored but contains no address list. After exploring this I found that when offline the wallet.synchronize() function is never called and so no addresses are created. Checking the wallet file showed it had an empty address list.

The fix for this is a simple two lines in electrum that calls wallet.synchronize when offline.

This pull request only brings in the 2 lines in electrum to fix this.