firoorg / firo

The privacy-focused cryptocurrency
https://firo.org
MIT License
720 stars 354 forks source link

Deal with runaway exceptions #1345

Closed psolstice closed 1 year ago

psolstice commented 1 year ago

PR intention

In some cases low-level exceptions were able to leave lelantus/sigma in incorrect state. This PR prevents this behavior.

Code changes brief

Try/catch blocks are used