Closed 0xmountaintop closed 3 years ago
in vss::Share::Verify & mta::ProofBob::Verify & all other ValidateBasic()/Validate(), boolean computations are returned directly.
However, this is not the case in commitment and schnorr_proof package.
This PR refactor them to consistent verification style, and may save condition branch executions if being compiled without optimization.
in vss::Share::Verify & mta::ProofBob::Verify & all other ValidateBasic()/Validate(), boolean computations are returned directly.
However, this is not the case in commitment and schnorr_proof package.
This PR refactor them to consistent verification style, and may save condition branch executions if being compiled without optimization.