ethereum / py_ecc

Python implementation of ECC pairing and bn_128 and bls12_381 curve operations
MIT License
183 stars 82 forks source link

Fix optimized_swu + update error messages #97

Closed hwwhww closed 4 years ago

hwwhww commented 4 years ago

What was wrong?

Address #96 Also, beatify some error messages.

How was it fixed?

Put if not success and not success_2: ... block to the right place.

Cute Animal Picture

marmots-4936688_640