commit 584b19a11e0a21c96e3659fefea82d169978b6f7
parent 8c42b9a8e8e4bd959d5d7d137015628f72331518
Author: ThomasV <thomasv@electrum.org>
Date: Sat, 11 Mar 2017 14:54:03 +0100
fix for older formats
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/lib/wallet.py b/lib/wallet.py
@@ -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', [])