URI: 
       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 906e0ecd14dbd6f417f816adafb1fb3d76372824
   DIR parent 8863b6f294e352ada2298cf2d7a5ee3012c43b7d
  HTML Author: ThomasV <thomasv@gitorious>
       Date:   Wed, 21 Jan 2015 23:43:26 +0100
       
       rename SEED_PREFIX constant
       
       Diffstat:
         M lib/bitcoin.py                      |       2 +-
         M lib/version.py                      |       4 ++--
       
       2 files changed, 3 insertions(+), 3 deletions(-)
       ---
   DIR diff --git a/lib/bitcoin.py b/lib/bitcoin.py
       t@@ -150,7 +150,7 @@ hash_encode = lambda x: x[::-1].encode('hex')
        hash_decode = lambda x: x.decode('hex')[::-1]
        hmac_sha_512 = lambda x,y: hmac.new(x, y, hashlib.sha512).digest()
        
       -def is_new_seed(x, prefix=version.SEED_BIP44):
       +def is_new_seed(x, prefix=version.SEED_PREFIX):
            import mnemonic
            x = mnemonic.prepare_seed(x)
            s = hmac_sha_512("Seed version", x.encode('utf8')).encode('hex')
   DIR diff --git a/lib/version.py b/lib/version.py
       t@@ -5,5 +5,5 @@ OLD_SEED_VERSION = 4        # electrum versions < 2.0
        
        
        # The hash of the mnemonic seed must begin with this
       -SEED_BIP44       = '01'      # BIP44
       -SEED_2FA         = '101'     # extended seed for two-factor authentication
       +SEED_PREFIX      = '01'      # BIP44
       +SEED_PREFIX_2FA  = '101'     # extended seed for two-factor authentication