tfix for older formats - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 584b19a11e0a21c96e3659fefea82d169978b6f7 DIR parent 8c42b9a8e8e4bd959d5d7d137015628f72331518 HTML Author: ThomasV <thomasv@electrum.org> Date: Sat, 11 Mar 2017 14:54:03 +0100 fix for older formats Diffstat: M lib/wallet.py | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) --- DIR diff --git a/lib/wallet.py b/lib/wallet.py t@@ -220,6 +220,7 @@ class Abstract_Wallet(PrintError): def load_addresses(self): d = self.storage.get('addresses', {}) + if type(d) != dict: d={} self.receiving_addresses = d.get('receiving', []) self.change_addresses = d.get('change', [])