tfix: public instead of private - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 1751c3ac7f53956de69cb17d96301bf1874a529e DIR parent f550b452bebc47af473ced0d82f379188f23e7a5 HTML Author: ThomasV <thomasv@gitorious> Date: Wed, 9 Apr 2014 07:36:33 +0200 fix: public instead of private Diffstat: M lib/wallet.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- DIR diff --git a/lib/wallet.py b/lib/wallet.py t@@ -1735,13 +1735,13 @@ class OldWallet(NewWallet): def create_master_keys(self, password): seed = pw_decode(self.seed, password) mpk = OldAccount.mpk_from_seed(seed) - self.storage.put('master_private_key', mpk, True) + self.storage.put('master_public_key', mpk, True) def get_master_public_key(self): return self.storage.get("master_public_key") def create_accounts(self, password): - mpk = self.storage.get('master_private_key') + mpk = self.get_master_public_key() self.create_account(mpk) def create_account(self, mpk):