From 85d1d5923f7bb8491cea51e1780b9e9b17d06c9e Mon Sep 17 00:00:00 2001 From: ThomasV Date: Tue, 8 Nov 2011 15:04:33 +0100 Subject: [PATCH] cleanup --- client/mnemonic.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/client/mnemonic.py b/client/mnemonic.py index f1e20521..0e88fb0b 100644 --- a/client/mnemonic.py +++ b/client/mnemonic.py @@ -1919,7 +1919,6 @@ words = [ n = 1626 -print len(words) # Note about US patent no 5892470: Here each word does not represent a given digit. # Instead, the digit represented by a word is variable, it depends on the previous word. @@ -1947,13 +1946,13 @@ def mn_decode( wlist ): return out -key = '6a8657c1f2566290be460fd51bb9f7fc' + if __name__ == '__main__': import sys - a = key - ss = mn_encode(a) - print a + key = '6a8657c1f2566290be460fd51bb9f7fc' + ss = mn_encode(key) + print key print ss print mn_decode(ss)