Commit bd2e8421 authored by Sam Rushing's avatar Sam Rushing

set_compressed does not (yet) support hybrid mode.

parent 694d6f3b
...@@ -84,13 +84,6 @@ class Test (unittest.TestCase): ...@@ -84,13 +84,6 @@ class Test (unittest.TestCase):
p = e.get_pubkey() p = e.get_pubkey()
self.assertTrue (p[0] in ('\x04')) self.assertTrue (p[0] in ('\x04'))
def test_hybrid (self):
e = ecdsa ("secp256k1")
e.set_compressed (False)
e.generate()
p = e.get_pubkey()
self.assertTrue (p[0] in ('\x04'))
def test_mode_change (self): def test_mode_change (self):
e = ecdsa ("secp256k1") e = ecdsa ("secp256k1")
p0 = ( p0 = (
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment