git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
c9fc627
)
fix: get_seed
author
ThomasV
<thomasv@gitorious>
Sun, 4 May 2014 17:52:47 +0000 (19:52 +0200)
committer
ThomasV
<thomasv@gitorious>
Sun, 4 May 2014 17:52:47 +0000 (19:52 +0200)
lib/wallet.py
patch
|
blob
|
history
diff --git
a/lib/wallet.py
b/lib/wallet.py
index
ecd0ea7
..
ebe7bf5
100644
(file)
--- a/
lib/wallet.py
+++ b/
lib/wallet.py
@@
-1378,7
+1378,7
@@
class NewWallet(Deterministic_Wallet):
def create_master_keys(self, password):
- xpriv, xpub = bip32_root(self.get_seed(password))
+ xpriv, xpub = bip32_root(mnemonic_to_seed(self.get_seed(password),'').encode('hex'))
self.add_master_public_key("m/", xpub)
self.add_master_private_key("m/", xpriv, password)