Ejemplo n.º 1
0
 def test(self):
     seed = '8edad31a95e7d59f8837667510d75a4d'
     result = old_mnemonic.mn_encode(seed)
     words = 'hardly point goal hallway patience key stone difference ready caught listen fact'
     self.assertEqual(result, words.split())
     self.assertEqual(old_mnemonic.mn_decode(result), seed)
Ejemplo n.º 2
0
 def test(self):
     seed = '8edad31a95e7d59f8837667510d75a4d'
     result = old_mnemonic.mn_encode(seed)
     words = 'hardly point goal hallway patience key stone difference ready caught listen fact'
     self.assertEqual(result, words.split())
     self.assertEqual(old_mnemonic.mn_decode(result), seed)