tfix: get_master_public_key - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit cf03f153d9fe24d376a749fb55486df34f26f48e
DIR parent bf3f67c043a5c599c725318c20821778425ddf51
HTML Author: ThomasV <thomasv@gitorious>
Date: Wed, 13 Aug 2014 16:28:27 +0200
fix: get_master_public_key
Diffstat:
M lib/wallet.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
DIR diff --git a/lib/wallet.py b/lib/wallet.py
t@@ -1247,8 +1247,7 @@ class NewWallet(Deterministic_Wallet):
return 'm/' in self.master_private_keys.keys()
def get_master_public_key(self):
- """xpub of the main account"""
- return self.master_public_keys.get("m/0'")
+ return self.master_public_keys.get("m/")
def get_master_public_keys(self):
out = {}