URI: 
       tis_new_seed: encode utf8 - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 23df7394df60f53adb469173b5c9ef4bceb15574
   DIR parent 0ba73dfc95a6dc8f10da11a6b89f3514dae8090a
  HTML Author: ThomasV <thomasv@gitorious>
       Date:   Tue, 29 Apr 2014 19:30:31 +0200
       
       is_new_seed: encode utf8
       
       Diffstat:
         M lib/bitcoin.py                      |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
   DIR diff --git a/lib/bitcoin.py b/lib/bitcoin.py
       t@@ -71,7 +71,7 @@ def mnemonic_to_seed(mnemonic, passphrase):
            return PBKDF2(mnemonic, 'mnemonic' + passphrase, iterations = PBKDF2_ROUNDS, macmodule = hmac, digestmodule = hashlib.sha512).read(64)
        
        from version import SEED_PREFIX
       -is_new_seed = lambda x: hmac_sha_512("Seed version", x).encode('hex')[0:2].startswith(SEED_PREFIX)
       +is_new_seed = lambda x: hmac_sha_512("Seed version", x.encode('utf8')).encode('hex')[0:2].startswith(SEED_PREFIX)
        
        def is_old_seed(seed):
            import mnemonic