commit 92ba93405256f549cdbb58858957b8e69e488fc4 parent 3a8b4d42584f3c045bdfa52671e00bca4613f06a Author: ThomasV <thomasv@gitorious> Date: Tue, 2 Sep 2014 15:21:17 +0200 NFKD (per bip39) Diffstat:
M | lib/mnemonic.py | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/mnemonic.py b/lib/mnemonic.py @@ -54,7 +54,7 @@ class Mnemonic(object): @classmethod def prepare_seed(self, seed): import unicodedata - return unicodedata.normalize('NFC', unicode(seed.strip())) + return unicodedata.normalize('NFKD', unicode(seed.strip())) def mnemonic_encode(self, i): n = len(self.wordlist)