mirror of
https://git.wownero.com/lza_menace/wownero-python.git
synced 2024-08-15 03:25:25 +00:00
Add test for 12 words
This commit is contained in:
parent
ee16fd41b9
commit
e922ed92e8
1 changed files with 2 additions and 0 deletions
|
@ -79,6 +79,8 @@ class SeedTestCase(unittest.TestCase):
|
|||
|
||||
seed = Seed("dwelt idols lopped blender haggled rabbits piloted value swagger taunts toolbox upgrade swagger")
|
||||
self.assertTrue(seed.is_mymonero())
|
||||
# check if the same seed without checksum matches the hex
|
||||
self.assertEqual(seed.hex, Seed(" ".join(seed.phrase.split(" ")[:12])).hex)
|
||||
# the following fails, #21 addresses that
|
||||
self.assertEqual(
|
||||
seed.secret_spend_key(),
|
||||
|
|
Loading…
Reference in a new issue