1
0

use language in config to choose wordlist

This commit is contained in:
ThomasV
2014-09-02 15:34:11 +02:00
parent 92ba934052
commit a2065eff72
2 changed files with 9 additions and 3 deletions

View File

@@ -1298,7 +1298,8 @@ class BIP32_Wallet(Deterministic_Wallet):
return Mnemonic.mnemonic_to_seed(seed, password)
def make_seed(self):
return Mnemonic('english').make_seed()
lang = self.storage.config.get('language')
return Mnemonic(lang).make_seed()
def prepare_seed(self, seed):
return NEW_SEED_VERSION, Mnemonic.prepare_seed(seed)