commit e3e5d9579476c30da01b79b2e0dc28d2a24727c0
parent eaa91683da89096827a25d87088e71ad741cd167
Author: ThomasV <thomasv@gitorious>
Date: Tue, 31 Mar 2015 22:44:00 +0200
fix account key bug
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/wallet.py b/lib/wallet.py
@@ -242,7 +242,7 @@ class Abstract_Wallet(object):
for k, v in d.items():
if self.wallet_type == 'old' and k in [0, '0']:
v['mpk'] = self.storage.get('master_public_key')
- self.accounts[k] = OldAccount(v)
+ self.accounts['0'] = OldAccount(v)
elif v.get('imported'):
self.accounts[k] = ImportedAccount(v)
elif v.get('xpub3'):