1
0

do not expose mnemonic_to_seed

This commit is contained in:
ThomasV
2014-08-13 15:43:54 +02:00
parent db1e4689a9
commit bf3f67c043
2 changed files with 4 additions and 3 deletions

View File

@@ -1313,7 +1313,8 @@ class NewWallet(Deterministic_Wallet):
return xpub
def create_master_keys(self, password):
xpriv, xpub = bip32_root(mnemonic_to_seed(self.get_seed(password),'').encode('hex'))
seed = self.get_seed(password)
xpriv, xpub = bip32_root(seed)
self.add_master_public_key("m/", xpub)
self.add_master_private_key("m/", xpriv, password)