mimblewimble / rust-secp256k1-zkp

ZKP fork for rust-secp256k1, adds wrappers for range proofs, pedersen commitments, etc
Creative Commons Zero v1.0 Universal
56 stars 51 forks source link

refactor: replace most of try with ? #33

Closed garyyu closed 5 years ago

garyyu commented 5 years ago

minor improve on code readability.

Replace all try! with ?, but leaving 3 try! because upstream also having it, for future merging convenience.

All removed try! doesn't come from upstream.