firoorg / firo

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

Fix possible state corruption when connecting blocks with lelantus/sigma #1365

Closed psolstice closed 1 year ago

psolstice commented 1 year ago

PR intention

Fix state corruption

Code changes brief

When returning of ConnectBlockSigma and ConnectBlockLelantus make sure not to leave state in undefined state