trename SEED_PREFIX constant - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 2b42f054a954aa7c10cb3f8a4c0cc399bc523104 DIR parent 906e0ecd14dbd6f417f816adafb1fb3d76372824 HTML Author: ThomasV <thomasv@gitorious> Date: Wed, 21 Jan 2015 23:49:31 +0100 rename SEED_PREFIX constant Diffstat: M lib/mnemonic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/lib/mnemonic.py b/lib/mnemonic.py t@@ -147,7 +147,7 @@ class Mnemonic(object): i = self.mnemonic_decode(seed) return i % custom_entropy == 0 - def make_seed(self, num_bits=128, prefix=version.SEED_BIP44, custom_entropy=1): + def make_seed(self, num_bits=128, prefix=version.SEED_PREFIX, custom_entropy=1): n = int(math.ceil(math.log(custom_entropy,2))) # bits of entropy used by the prefix k = len(prefix)*4